| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Dec 04, 2011
Posts: 3
![]() |
Hi all,
My computer has a local hostame of BlahBlah.local and I can alter this name, if desired, in the Sharing window of System Preferences. But I'm curious about where this name is actually stored or located. The \h or \H flags know where to get it for use in modifying PS1 but I don't see it listed in my .profile or in my default_env_vars file. Thanks in advance for any enlightenment |
| QUOTE Thanks | |
![]() Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,532
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff
|
mike This machine kills fascists Got # ? phear the command line! |
| QUOTE Thanks | |
![]() Member Since: Dec 04, 2011
Posts: 3
![]() |
|
||||
| QUOTE Thanks | |||||
![]() Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,532
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff
|
Well, here's the deal. You'd actually need to use scutil to change the name. Like many Unix's there's a db that actually contains many of the OS's parameters. So, to do so at a CLI (successfully) you'd need to do the following:
scutil –set HostName new_hostname man scutil <-- for more information mike This machine kills fascists Got # ? phear the command line! |
| QUOTE Thanks | |
![]() Member Since: Dec 04, 2011
Posts: 3
![]() |
|
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Local host name Already in Use??? | code777 | OS X - Operating System | 6 | 06-01-2012 09:13 AM |
| how can i browse my local network? | silverr | Internet, Networking, and Wireless | 11 | 01-17-2012 10:32 PM |
| Local admin account, system admin account, no desktop | dphilly53 | OS X - Operating System | 0 | 08-17-2010 09:27 AM |
| Keeping Local mailboxes on an External Drive--Envelope Index Questio | mr10012 | OS X - Apps and Games | 0 | 04-05-2008 05:58 AM |
| Dreamweaver, OS X 10.4.7: Can't find local folder | bdemil | Web Design and Hosting | 0 | 08-20-2006 02:05 PM |
All times are GMT -4. The time now is 08:06 PM.
Powered by vBulletin