Sep 20, 2002 #1 tech84 Technical User May 18, 2000 126 US Here's an easy one... how do I set up the shell prompt to contain the username and hostname, please. Thanks! Mike
Here's an easy one... how do I set up the shell prompt to contain the username and hostname, please. Thanks! Mike
Sep 20, 2002 #2 olded Programmer Oct 27, 1998 1,065 US Mike: Provided you're using a modern shell like ksh, use the PS1 variable. This is in my .profile: export PS1='$LOGNAME@$SYSNAME:$PWD'":> " Regards, Ed Upvote 0 Downvote
Mike: Provided you're using a modern shell like ksh, use the PS1 variable. This is in my .profile: export PS1='$LOGNAME@$SYSNAME:$PWD'":> " Regards, Ed
Sep 20, 2002 Thread starter #3 tech84 Technical User May 18, 2000 126 US I'm using bash, so it should work okay. Thanks for your help! Mike Upvote 0 Downvote