Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 19, 2013, 08:18 PM   #1
tamvly
macrumors 6502a
 
tamvly's Avatar
 
Join Date: Nov 2007
Strange Terminal Prefix in bash

After using terminal for the installation of MySQL and a local Joomla development environment (hopefully unrelated) I am now getting a very odd prefix to my terminal prompt. Instead of getting

machine_name:~ user_id$

I'm getting

unknown406c8f4592cf:~ user_id$

Any ideas of what is going on here?
tamvly is offline   0 Reply With Quote
Old Feb 20, 2013, 12:21 AM   #2
mfram
macrumors 6502a
 
Join Date: Jan 2010
Location: San Diego, CA USA
Because that's the name of the machine. Probably given to it by a DHCP server. You can verify that by using the 'hostname' command in terminal. What name does that command return?
mfram is offline   0 Reply With Quote
Old Feb 20, 2013, 12:07 PM   #3
tamvly
Thread Starter
macrumors 6502a
 
tamvly's Avatar
 
Join Date: Nov 2007
hostname returns 'unknown406c8f4592cf', the funny string in terminal. Hmmm.

Not sure why DHCP would use that name as there is a perfectly good name in Preferences/Sharing. Also, there doesn't appear to be any Terminal preference that would affect this.

Guess I'm confused.
tamvly is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
changed bash to tcsh in gui MAC OS 10.5.8 how to chage back to bash? Mac10.5.8USER OS X 0 Feb 3, 2014 04:45 PM
How do I make Bash 4.2 the default Terminal.app shell? printz OS X 3 May 6, 2013 12:23 AM
tcsh to bash permanent change in terminal? JBsea Mac Basics and Help 4 Apr 13, 2013 12:45 PM
._ prefix files. bombertaylor Mac Basics and Help 5 Dec 2, 2012 04:35 AM
Otterbox Prefix Macnificant iPhone Accessories 13 Nov 23, 2012 01:34 PM

Forum Jump

All times are GMT -5. The time now is 12:05 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC