Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

omarjk

macrumors regular
Original poster
Jan 20, 2008
149
0
London, UK
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
 
Have you connected to Internet through the Blackberry? The computer can pick a name related to the address it gets...
 
Have you connected to Internet through the Blackberry? The computer can pick a name related to the address it gets...

If you mean by tethering, then I have not.

I will restart the machine and post back if nothing has changed.
 
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"
 
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

that's strange.. never heard of this before..

try deleting the blackberry sync software to see if this persists
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.