#!/bin/rc if(~ $1 v){ peep $0 exit } echo '
pwd: '
pwd
echo '
Arguments: echo $0
' echo $0 echo 'Arguments: echo $*
' echo $* echo '
ls -l
' ls -l echo '
ls -l /
Note that many direcories in "/" is hided. Confirm "/usr" and "/adm" are not there. ' ls -l / echo '
ls -l /doc
Pegasus has a sigle name for document root. The name is "/doc". All users have same document root. Confirm that you cannot find the documents of other users under "doc".' ls -l /doc echo '
ls -l /etc
' ls -l /etc echo '
ls -l /lib
' ls -l /lib echo '
lc /bin
/bin
you see here is merged from:
/bin
of console
/usr/web/bin
/usr/pegasus/www/etc/bin
Look at text2html and formparse. Note that the files originally in /usr/web/bin are seen here.
Look at
a_user_side_program
. You will find this file in /usr/pegasue/www/etc/bin ' lc /bin echo '
lc /net
"/net" is necessary when we use authentication scheme. However some evil minded CGIs may use it for some evil purpose. Therefore names bellow "/net" is unmounted. Confirm:' ls -l /net/* cat<<-eof-
Diagnostics
If you have errors such as:rc: can't open #e/status rc: can't open #e/0 rc: can't open #e/*then your Kernel is old. Replace new one.
see this script -eof-