Thread: Funny stuff
View Single Post
Old 29th November 2010
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 136
Default

Seen on Slashdot…
Code:
# (bash syntax, alter appropriately. BTW, not intended for *your* .profile :)

export PS1="\nYou are in a room with many doors, all alike\n# "

alias cd="echo That door is locked #"
alias pwd="echo You are lost #"
alias ls="echo It is too dark to see anything #"
alias cat="echo It is too dark to see anything #"
alias vi="echo You\\'re not strong enough to perform that action #"
alias startx="echo I don\\'t understand #"
alias exit="echo You don\\'t know the way out #"

# And in case they try to remove their .profile...
alias rm="echo I\\'m sorry Dave, I\\'m afraid I can\\'t do that #"
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.

Last edited by backrow; 1st December 2010 at 03:45 AM.
Reply With Quote