OK..
old_name# hostname
old_name
old_name# hostname new_name
old_name# hostname
new_name
My original hostname is "old_name", and I modify it to "new_name" as in the 2nd command. Now, even though the hostname is "new_name", the prompt still says "old_name". (It becomes "new_name" after a re-login). But, I want it to become "new_name" immediately without a re-login.
Sorry for the confusion - I hope I'm clear ..
|