
The Prompt (cont)
My prompt looks like this:
bri@hostname:/home/bri
$
Created via .bashrc like this:
PS1="\u@\h:\w\n\$ "
Or created via .kshrc like this:
if [ -w / ] ; then
PS1=`whoami`@`hostname`:'$PWD
# '
else
PS1=`whoami`@`hostname`:'$PWD
$ '
fi
Copyright 2005, Bri Hatch of Onsight, Inc.
Presented at LFNW - LinuxFest Northwest, Bellingham, Washington, Apr 2005
Presentation created using vim and MagicPoint.