?? isode-test
字號:
: run this script through /bin/sh# A program to test out the isode services etc.## Pretty simple minded - but gives some indications.## Julian Onions <jpo@cs.nott.ac.uk> 15/1/86# usage : isode-test [ hostname ]if [ ! -f support/xisoc ]; then PATH=$PATH:/usr/local/bin export PATH P1= P2=else P1=support/x P2=imisc/xfierror=0 fast=0if [ "x$1" = "x-lpp" ]; then fast=1 S=-lpp shiftelse S=fiif [ "x$1" = "x-iaed" ]; then ECHO= SSAP= RECHO= shiftelse ECHO=echo SSAP=ssap RECHO=ros_echofiIMISC=${P2}imisc${S} ISOC=${P1}isocif [ $# -gt 0 ]; then host="$1" echo "Hostname set to $host"elif host="`hostname`"; then echo "Hostname set to $host"elif host="`uname`"; then echo "Hostname set to $host"else echo -n "I give up, what is your host name? " read hostfifor i in utctime gentime time users chargen qotd finger pwdgendoecho "$i:"$IMISC "$host" $i || error=`expr $error + 1`donefor i in ping sink echodoecho "$i:"$IMISC -c 100 -l 1020 "$host" $i || error=`expr $error + 1`doneif [ $fast = 1 ]; then echo "Test done, Errors: $error" exit $errorfifor i in $ECHO isode/echodoecho "rosap $i:"$ISOC "$host" rosap $i < /etc/passwd || error=`expr $error + 1`donefor i in $ECHO $RECHO "isode/rtse echo" isode/ros_echodoecho "rtsap $i:"$ISOC "$host" rtsap "$i" < /etc/passwd || error=`expr $error + 1`donefor i in $ECHO isode/echodoecho "psap $i:"$ISOC "$host" psap $i < /etc/passwd || error=`expr $error + 1`donefor i in $SSAP tsapdoecho "$i echo:"$ISOC "$host" $i echo < /etc/passwd || error=`expr $error + 1`doneecho "Test done, Errors: $error"exit $error
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -