| You can have bash display your hostname and working directory at the prompt in this form:
yoda:/var/tmp>$
by changing the PS1 line or creating in your .profile to read:
PS1='\h:$PWD>\$'
The defninition must be in single quotes, or it won't update
the prompt when you change directories. If you like to see your
hostname capitalized like I do, then hardcode it into your .profile
like this:
PS1='Yoda:$PWD>\$'
<mschalit@pacbell.net>
gerberb@zenez.com
|