Who Says UNIX isn't Sexy? (OLD)
Saw this on someone's .plan recently and I hadn't seen it for a while. Thought some of the folks new to UNIX might get a kick out of it:
-----
Who said Unix isn't sexy?
who | grep -i blonde |
date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; unmount; sleep
Re: Who Says UNIX isn't Sexy? (OLD)
bofhandpfy -- Although I hate explaining jokes, I'll explain this since it actually is just a series of commands:
Quote:
Originally posted here by roswell1329
who | grep -i blonde |
date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; unmount; sleep
who is a command to see who is currently on the system
| pipes redirect the output of the previous command to the next command
grep -i blonde looks for any username (from the previous who command) containing the word 'blonde'.
| again, pipes redirect output from the previous (in this case 2 commands) into the next command
Almost everything after that is merely a series of UNIX commands that do random things, but with names that were just so damn convenient.
The exception is cd ~, which is UNIX-speak for "go home", or go to my home directory.
Man...I feel like a nerd explaining all that, but hopefully bofhandpfy can now join in the fun. :bigsmile: