~/.stdprompt and ~/.stdprompt_csh - Sample PromptsShows sample prompts if you install these two files in your home directory by following these instructions. |
Sun 01/25/98 08:29:30 /usr/home/erco [erco@somewhere.com] 166 : cd /usr/lib/perl5/i386-linux/5.003/auto/SDBM_File Sun 01/25/98 08:29:35 /usr/lib/perl5/i386-linux/5.003/auto/SDBM_File [erco@somewhere.com] 167 : cd <-- command prompt still on screen even though we're deep in a dir Sun 01/25/98 08:29:38 /usr/home/erco [erco@somewhere.com] 168 : echo $shell /bin/tcsh Nice prompts are easy in a TCSH Sun 01/25/98 08:29:43 /usr/home/erco [erco@somewhere.com] 169 : /bin/csh ..but what about dumb CSH's? Sun 01/25/98 08:29:58 /usr/home/erco [erco@somewhere.com] 1: cd .. Sun 01/25/98 08:30:09 /usr/home [erco@somewhere.com] 2: pushd /usr/tmp /usr/tmp /usr/home Sun 01/25/98 08:30:19 /var/tmp <-- Note: true path is shown [erco@somewhere.com] 3: popd /usr/home Sun 01/25/98 08:30:23 /usr/home [erco@somewhere.com] 4: cd Sun 01/25/98 08:30:28 /usr/home/erco [erco@somewhere.com] 5: su What happens when we su? Password: Sun 01/25/98 08:30:43 /usr/home/erco [erco@somewhere.com] ## ROOT ## 1 : id prompt warns when you're root uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 117(dialer) Sun 01/25/98 08:30:45 /usr/home/erco [erco@somewhere.com] ## ROOT ## 2 :