| Author |
Odd Terminal Login
|
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
The other day Terminal started showing the following when opened:
That value is always the same. I went into the Sharing options, per some Googling, and I can see Gregg Bolinger’s iMac as the Computer Name and Gregg-Bolingers-iMac.local as the Local Hostname. Any ideas on how I can fix the Terminal?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
I have the following in my .bashrc to define the prompt as username, host and folder:
export PS1="\u@\h:\W$ "
Examples:
bear@Kodiak:~$
bear@Kodiak:Development$
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
I added that and now get:
The host is unknown. But I don't know why.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Hmmm, never sen that before. Ive had one come up with odd host names when on a corporate network, but nothing that looked like that.
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
And just now it fixed itself. No clue.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
 |
 |
|
|
subject: Odd Terminal Login
|
|
|