#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2008
    Posts
    31
    Rep Power
    6

    The number before # in root command prompt


    Hello,

    I am a FreeBSD newbie.
    the root command prompt starts with 192#, is there any special meaning to that?

    if you could help
    thank you
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,616
    Rep Power
    4247
    Print the output of
    echo $PS1
    and
    hostname
    and
    hostname -f
    here.

    I have a feeling that the 192 is part of the IP address and that got set as the hostname
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2008
    Posts
    31
    Rep Power
    6

    Red face


    $ echo $PS1
    $
    $ hostname
    $ 192.168.0.102
    $ hostname -f
    $ 192.168.0.102

    ahh, thank you.

IMN logo majestic logo threadwatch logo seochat tools logo