Strange Terminal prefix

Discussion in 'macOS' started by omarjk, Apr 5, 2010.

  1. omarjk macrumors regular

    Joined:
    Jan 20, 2008
    Location:
    London, UK
    #1
    Forgive my lack of jargon when it comes to Terminal commands, functions etc. I am a total novice in this field.

    However, when just using Terminal I noticed that the first part of the command line goes:

    blackberry-f801:~ omarkhan$

    Now, I have a BlackBerry which I do connect to the Mac, but why the name would come into Terminal's command line structure is baffling.

    Can any of you shed some light?

    Thanks
     
  2. TuffLuffJimmy macrumors G3

    TuffLuffJimmy

    Joined:
    Apr 6, 2007
    Location:
    Portland, OR
  3. omarjk thread starter macrumors regular

    Joined:
    Jan 20, 2008
    Location:
    London, UK
  4. itickings macrumors 6502a

    itickings

    Joined:
    Apr 14, 2007
    #4
    Have you connected to Internet through the Blackberry? The computer can pick a name related to the address it gets...
     
  5. omarjk thread starter macrumors regular

    Joined:
    Jan 20, 2008
    Location:
    London, UK
    #5
    If you mean by tethering, then I have not.

    I will restart the machine and post back if nothing has changed.
     
  6. Anonymous Freak macrumors 601

    Anonymous Freak

    Joined:
    Dec 12, 2002
    Location:
    Cascadia
    #6
    If you go in to System Preferences -> Sharing, you will see your computer's name. I bet you are getting your computer name mixed up with your account name.

    The command line, by default, displays the following:

    Code:
    {COMPUTERNAME}:{CURRENTDIRECTORY} {USERNAME}$
    So my notebook's name is "GeekBook", my user name is "ed", and if my current directory is my home directory (commonly abbreviated "~"), I will see:

    Code:
    GeekBook:~ ed$
    When on my desktop computer, logged in as "testuser", at the "Applications" directory, I would see:

    Code:
    Hackintosh:Applications testuser$
    Note: If you are logged in as the actual "root" user, the last character is "#" instead of "$".

    I bet if you check your System Preferences -> Sharing, you will find that your computer is named "blackberry-f801"
     
  7. Arrandale macrumors regular

    Joined:
    Feb 24, 2010
    #7
    that's strange.. never heard of this before..

    try deleting the blackberry sync software to see if this persists
     
  8. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #8
    whoa whoa...

    That's just the host name that whatever DHCP server you're connected to gave to the previous "owner" of that IP address. It's completely irrelevant to your computer's functionality.

    To see the full host name, type into a Terminal window:

    hostname
     

Share This Page