[X-Unix] Modifying .bashrc to display dns name of machine I'm logged into

Our PAl Al opa at nyc.rr.com
Wed Oct 13 06:12:04 PDT 2004


Subject pretty much says it all. I'm working on an Apple scientific cluster
and am constantly ssh-ing into the Head Node, then into various other nodes.
My prompt is always just "-sh-2.05b#" and I frequently forget where I am.
Life would be much easier with my hostname in the prompt. How do I do that?

- opa






More information about the X-Unix mailing list