Oct 8, 2002 #1 sunsol Programmer Oct 8, 2002 1 CA Sun Solaris 2.5.1 How do I change the prompt to include the server name? Thanks in advance.
Oct 8, 2002 #2 lfoata IS-IT--Management Jul 12, 2001 301 CA in your .profile or .login add : set prompt="`uname -n`<\!% " Too bad I.T. is not cash business Luc Foata Unix sysadmin, Oracle DBA Upvote 0 Downvote
in your .profile or .login add : set prompt="`uname -n`<\!% " Too bad I.T. is not cash business Luc Foata Unix sysadmin, Oracle DBA
Oct 9, 2002 #3 VinZ ISP Sep 25, 2002 9 FR Add this line in your .profile : export PS1="[$(hostname)]\$PWD> " Re-execute your .profile . /.profile And the prompt might be like : [myserversun]/myhomedir/mydir1> I hope i can help you, Regards. Upvote 0 Downvote
Add this line in your .profile : export PS1="[$(hostname)]\$PWD> " Re-execute your .profile . /.profile And the prompt might be like : [myserversun]/myhomedir/mydir1> I hope i can help you, Regards.