PDA

View Full Version : Funny Commands in Linux



victorbrca
February 8th, 2008, 10:10 PM
Some of them don't work on Ubuntu's bash:



% cat "food in cans"
cat: can't open food in cans

% nice man woman
No manual entry for woman.

% "How would you rate Quayle's incompetence?
Unmatched ".

% Unmatched ".
Unmatched ".

% [Where is Jimmy Hoffa?
Missing ].

% ^How did the sex change operation go?^
Modifier failed.

% If I had a ( for every $ the Congress spent, what would I have?
Too many ('s.

% make love
Make: Don't know how to make love. Stop.

% sleep with me
bad character

% got a light?
No match.

% man: why did you get a divorce?
man:: Too many arguments.

% !:say, what is saccharine?
Bad substitute.

% %blow
%blow: No such job.

% \(-
(-: Command not found.

$ PATH=pretending! /usr/ucb/which sense
no sense in pretending!

$ drink matter
matter: cannot create




Vic.

Mary.Riley
February 8th, 2008, 11:51 PM
I really shouldn't find this funny. But, I do.

icechen1
February 8th, 2008, 11:55 PM
Ubuntu uses Bash by default,i think there is a way to switch back to Bash do a search on the net.

sumguy231
February 9th, 2008, 12:46 AM
Ubuntu uses bash as the login shell, dash for running scripts. But all of those examples are from the 80s and generally for bourne shell or csh on classic Unix systems.

Edit: Heh, look at the Dan Quayle joke. That should date it.

victorbrca
February 9th, 2008, 01:50 AM
Ubuntu uses Bash by default,i think there is a way to switch back to Bash do a search on the net.

I kinda got dizzy reading your comment!! :D

If I'm not mistaken the command is:


sudo dpkg-reconfigure dash


Vic.

FiskFisk33
October 10th, 2009, 09:20 AM
This is the beginning of sentient linux computers! :O

Propeng
December 7th, 2009, 04:06 PM
I usually don't like reviving old threads, but I've found out that they actually work on csh:

$ sudo apt-get install csh
$ csh
% ...