Linux的10个经典彩蛋
每当你打开的Linux虚拟主机的时候,通常是为了完成工作。但是,一台普通的Linux主机上,有成千上万的开发者开发的软件,你能保证他们都是这么正经的?
sudo apt-get install vim
sudo yum install vim
vim
:help 42
What is the meaning of life, the universe and everything? *42* Douglas Adams, the only person who knew what this question really was about is now dead, unfortunately. So now you might wonder what the meaning of death is…
:q :q
sudo apt-get install emacs
sudo yum install emacs
cd /usr/share/emacs/*/lisp/play
ls
5x5.elc decipher.elc gametree.elc meese.elc spook.elc animate.elc dissociate.elc gomoku.elc morse.elc studly.elc blackbox.elc doctor.elc handwrite.elc mpuz.elc tetris.elc bruce.el dunnet.elc hanoi.elc pong.elc yow.elc bubbles.elc fortune.elc landmark.elc snake.elc zone.elc cookie1.elc gamegrid.elc life.elc solitaire.elc
emacs
Esc-x pong
Ctrl-x Ctrl-c
apt-get help
. . .
. . .
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
这个APT有着超级牛力。
apt-get moo
(__) (oo) /------\/ / | || * /\---/ ~~ ~~ ...."Have you mooed today?"…
aptitude help
. . . . . . -u Download new package lists on startup. (terminal interface only) -i Perform an install run on startup. (terminal interface only) This aptitude does not have Super Cow Powers. 这个aptitude没有超级牛力。
aptitude moo
There are no Easter Eggs in this program(这个程序没有彩蛋).
aptitude -v moo
There really are no Easter Eggs in this program.(这个程序真的没有彩蛋)
aptitude -vv moo
Didn‘t I already tell you that there are no Easter Eggs in this program?
aptitude -vvvvv moo
All right, you win.好吧,你贏了。 /---- -------/ / / | -----------------/ -------- ----------------------------------------------
aptitude -vvvvvv moo
What is it? It‘s an elephant being eaten by a snake, of course. 这是什么?这就是一条蛇吞了一只大象.(看不懂的请自觉搜索小王子)
sudo visudo
Defaults insults
sudo -k sudo ls
[sudo] password for demo: # 输入一个错的密码 Have you considered trying to match wits with a rutabaga?(你这是在开玩笑么,)? [sudo] password for demo: My pet ferret can type better than you!(我的宠物鼬都能敲的比你好!) [sudo] password for demo: Wrong! You cheating scum! (不对!你个骗子!)
sudo apt-get install nmap
sudo yum install nmap
nmap scanme.nmap.org
Starting Nmap 5.21 ( http://nmap.org ) at 2013-09-18 17:43 UTC
Nmap scan report for scanme.nmap.org (74.207.244.221)
Host is up (0.072s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
Nmap done: 1 IP address (1 host up) scanned in 1.40 seconds
$tart|ng NMap 5.21 ( http://Nmap.org ) at 2013-09-18 17:45 UTC Nmap $cAn r3p0rt F0r scanM3.nmaP.oRg (74.207.244.221) Ho$t 1z Up (0.071z laT3ncy). Not sh0wN: 998 cl0$Ed p0rt$ POrT ST4TE $ERV!C3 22/tcp opEn Ssh 80/tcP 0p3n HtTp Nmap d0n3: 1 iP AddrESz (1 h0$t Up) $canNed !n 1.34 secondz
sudo apt-get install telnet
sudo yum install telnet
telnet towel.blinkenlights.nl
/~\ R2-D2! |oo ) Where are you? # _\=/_ # \\ / _ \ // \\//|/.\|\\// \/ \_/ \/ |\ /| \_ _/ | | | | | | []|[] | | | _______________________________/_]_[_\_____________________________
Ctrl-] close
traceroute -m 254 -q1 obiwan.scrye.net
. . . . . . 15 Episode.IV (206.214.251.1) 77.506 ms 16 A.NEW.HOPE (206.214.251.6) 87.194 ms 17 It.is.a.period.of.civil.war (206.214.251.9) 77.699 ms 18 Rebel.spaceships (206.214.251.14) 78.171 ms 19 striking.from.a.hidden.base (206.214.251.17) 87.624 ms 20 have.won.their.first.victory (206.214.251.22) 86.249 ms 21 against.the.evil.Galactic.Empire (206.214.251.25) 77.505 ms 22 During.the.battle (206.214.251.30) 85.622 ms 23 Rebel.spies.managed (206.214.251.33) 78.121 ms 24 to.steal.secret.plans (206.214.251.38) 77.049 ms . . . . . .
99 Were.no.strangers.to.love (206.214.251.206) 77.472 ms 100 You.know.the.rules.and.so.do.I (206.214.251.209) 78.054 ms 101 A.full.commitments.what.Im.thinking.of (206.214.251.214) 78.512 ms 102 I.just.wanna.tell.you.how.Im.feeling (206.214.251.217) 79.884 ms 103 Gotta.make.you.understand (206.214.251.222) 79.427 ms 104 Never.gonna.give.you.up (206.214.251.225) 77.032 ms 105 Never.gonna.let.you.down (206.214.251.230) 78.909 ms 106 Never.gonna.run.around.and.desert.you (206.214.251.233) 80.286 ms
sudo apt-get install sl
sudo yum install sl
sl
( ) (@@) ( ) (@) () @@ O @ O @ (@@@) ( ) (@@@@) ( ) ==== ________ ___________ _D _| |_______/ \__I_I_____===__|_________| |(_)--- | H\________/ | | =|___ ___| _________________ / | | H | | | | ||_| |_|| _| \___ | | | H |__--------------------| [___] | =| | ________|___H__/__|_____/[][]~\_______| | -| |/ | |-----------I_____I [][] [] D |=======|____|______________________ __/ =| o |=-~~\ /~~\ /~~\ /~~\ ____Y___________|__|________________________ |/-=|___|=O=====O=====O=====O |_____/~\___/ |_D__D__D_| |_D__D__D \_/ \__/ \__/ \__/ \__/ \_/ \_/ \_/ \_/
sudo apt-get install fortune cowsay
sudo yum install fortune cowsay
cowsay "hello, I‘m a cow”
__________________ < hello, I‘m a cow > ------------------ \ ^__^ \ (oo)\_______ (__)\ )\/ ||----w | || ||
cowsay "hello, I‘m a cow”
________________________________________ / Q: What looks like a cat, flies like a | bat, brays like a donkey, and | | | \ plays like a monkey? A: Nothing. / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/ ||----w | || ||
fortune | cowsay -f tux
_____________________________________ / You never know how many friends you | have until you rent a house on the | \ beach. / ------------------------------------- .--. |o_o | |:_/ | // \ (| | ) /‘\_ _/` \___)=(___/
cowsay -l
Cow files in /usr/share/cowsay/cows: apt beavis.zen bong bud-frogs bunny calvin cheese cock cower daemon default dragon dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep ghostbusters gnu head-in hellokitty kiss kitty koala kosh luke-koala mech-and-cow meow milk moofasa moose mutilated pony pony-smaller ren sheep skeleton snowman sodomized-sheep stegosaurus stimpy suse three-eyes turkey turtle tux unipony unipony-smaller vader vader-koala www
fortune | cowsay -f stegosaurus
_________________________________________ / Q: What lies on the bottom of the ocean \ and twitches? A: A nervous wreck. / ----------------------------------------- \ . . \ / `. .‘ " \ .---. < > < > .---. \ | \ \ - ~ ~ - / / | _____ ..-~ ~-..-~ | | \~~~\.‘ `./~~~/ --------- \__/ \__/ .‘ O \ / / \ " (_____, `._.‘ | } \/~~~/ `----. / } | / \__/ `-. | / | / `. ,~~| ~-.__| /_ - ~ ^| /- _ `..-‘ | / | / ~-. `-. _ _ _ |_____| |_____| ~ - . _ _ _ _ _>
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。