more unix jokes - /dev/null

Mike Pearce map at raphel.UUCP
Wed Sep 28 22:57:35 AEST 1988


I have used to following alias file as a joke on some people around here.
It gives even less unix functionality for the ksh novice.
#
alias unalias="/bin/echo - >/dev/null"
alias type="/bin/echo - >/dev/null"
alias ls="cd /tmp; /bin/ls"
alias cd="/bin/echo - >/dev/null"
alias pwd="/bin/echo \/tmp"
alias kill="/bin/echo - >/dev/null"
alias ps="sleep 5000;echo - >/dev/null"
alias alias="/bin/echo \"chmod=/bin/chmod
echo=print -
false=let 0
hash=alias -t
history=fc -l
integer=typeset -i
ls=/bin/ls
mv=/bin/mv
pwd=print - \"$\"PWD
r=fc -e -
true=let 1
type=whence -v
vi=/usr/bin/vi\""
#
			Mike Pearce att!ctsmain!raphel!map



More information about the Comp.unix.questions mailing list