Did you migrate your terminal startup file (.cshrc or .bashrc or whatever) from 
Fedora to OS X?  You might be initializing your terminal prompt in the startup 
file.


Aaron Gordon
[email protected]

The only way to do great work is to love what you do. If you haven't found it 
yet, keep looking. Don't settle. As with all matters of the heart, you'll know 
when you find it.  -  Steve Jobs

On Oct 13, 2011, at 2:59 PM, Chris Murphy wrote:

> Where is the hostname stored? I have a Macbook Pro with 10.7 installed on it, 
> first repartitioned and reformatted. It previously had Fedora 16 on it, with 
> a hostname of f16.local.
> 
> Yet despite repartitioning and reformatting and clean installing 10.7, the 
> command prompt in terminal is:
> f16:~ chris$
> 
> When I type hostname, the reply is:
> f16
> 
> When I go to System Preferences>Sharing the "Computer Name" is mbp4. With 
> file sharing enabled, other computers see mbp4 as the bonjour name. ssh to 
> f16.local does not resolve, but mbp4.local does resolve. If I change the 
> Computer Name, it is not changed in Terminal's command prompt until the 
> computer is restarted, and now it appears to be in parity with the hostname 
> found elsewhere.
> 
> But initially it picked up the hostname from a completely different operating 
> system? Despite disk partitioning and reformatting?
> 
> Chris Murphy
> _______________________________________________
> MacOSX-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/macosx-admin

_______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Reply via email to