轉(zhuǎn)帖|使用教程|編輯:我只采一朵|2017-06-12 10:10:55.000|閱讀 202 次
概述: screenfetch一個顯示系統(tǒng)信息和主題信息的命令使用方法輸入screenfetch效果圖linuxlogo顯示linux版本logo圖片及系統(tǒng)信息使用方法輸入linuxlogo效果圖查看內(nèi)置的所有圖案bboysoul@bboysoul ~/桌面 $ linux_logo -f -L ...
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
screenfetch
一個顯示系統(tǒng)信息和主題信息的命令
使用方法
輸入screenfetch
效果圖
logo
顯示linux版本logo圖片及系統(tǒng)信息
使用方法
輸入linuxlogo
效果圖
查看內(nèi)置的所有圖案
bboysoul@bboysoul ~/桌面 $ linux_logo -f -L list
Available Built-in Logos:
Num Type Ascii Name Description
1 Classic Yes aix AIX Logo
2 Classic Yes bsd FreeBSD Logo
3 Banner Yes bsd_banner FreeBSD Logo
4 Classic Yes irix Irix Logo
5 Classic Yes openbsd OpenBSD Logo
6 Banner Yes openbsd_banner OpenBSD Logo
7 Banner Yes solaris The Default Banner Logos
8 Banner Yes banner-simp Simplified Banner Logo
9 Banner Yes banner The Default Banner Logo
10 Classic Yes classic-nodots The Classic Logo, No Periods
11 Classic Yes classic-simp Classic No Dots Or Letters
12 Classic Yes classic The Default Classic Logo
13 Classic Yes core Core Linux Logo
14 Banner Yes debian_banner_2 Debian Banner 2
15 Banner Yes debian_banner Debian Banner (white)
16 Classic Yes debian_old Debian Old Penguin Logos
17 Classic Yes debian Debian Swirl Logos
18 Classic Yes gnu_linux Classic GNU/Linux
19 Banner Yes mandrake_banner Mandrake(TM) Linux Banner
20 Banner Yes mandrake Mandrakelinux(TM) Banner
21 Banner Yes mandriva Mandriva(TM) Linux Banner
22 Banner Yes pld PLD Linux banner
23 Classic Yes raspi An ASCII Raspberry Pi logo
24 Banner Yes redhat RedHat Banner (white)
25 Banner Yes slackware Slackware Logo
26 Banner Yes sme SME Server Banner Logo
27 Banner Yes sourcemage_ban Source Mage GNU/Linux banner
28 Banner Yes sourcemage Source Mage GNU/Linux large
29 Banner Yes suse SUSE Logo
30 Banner Yes ubuntu Ubuntu Logo
Do "linux_logo -L num" where num is from above to get the appropriate logo.
Remember to also use -a to get ascii version.
指定輸出圖案
循環(huán)輸出
for ((i=1;i<=30;i++));do linux_logo -f -L $i;sleep 0.1;done
讓終端變得有意思
在終端輸入sudo visudo
在“Defaults”末尾(文件的前半部分)添加一行“Defaults insults”。
保存
之后當(dāng)你使用sudo,在輸入密碼的時候,如果輸入錯誤了,那么終端開始胡說八道了
演示
bboysoul@bboysoul ~/桌面 $ sudo ls
[sudo] bboysoul 的密碼:
Have a gorilla...
[sudo] bboysoul 的密碼:
And with that remarks folks, the case of the Crown vs yourself was proven.
[sudo] bboysoul 的密碼:
sudo: 3 次錯誤密碼嘗試
bboysoul@bboysoul ~/桌面 $ sudo ls
[sudo] bboysoul 的密碼:
My pet ferret can type better than you!
[sudo] bboysoul 的密碼:
Your mind just hasn't been the same since the electro-shock, has it?
[sudo] bboysoul 的密碼:
sudo: 3 次錯誤密碼嘗試
bboysoul@bboysoul ~/桌面 $
sl
當(dāng)你輸入sl或者LS后屏幕會跑出一個蒸汽火車出來
不信你試試
cmatrix
這個命令的作用就是讓終端顯示和黑客帝國一樣的滾動的文字
用法
在終端輸入cmatrix
rev
這個命令可以將所有的文本逆序輸出
bboysoul@bboysoul ~/桌面 $ echo bboysoul is a bad guy
bboysoul is a bad guy
bboysoul@bboysoul ~/桌面 $ echo bboysoul is a bad guy | rev
yug dab a si luosyobb
lolcat
這個命令可以讓你輸出的文字變?yōu)椴噬?/div>
演示
bboysoul@bboysoul ~/桌面 $ echo bboysoul is a bad guy | lolcat
bboysoul is a bad guy
當(dāng)然上面的輸出是不會變成彩色的
Cowsay
cowsay 是一個打印一頭牛然后讓那頭牛說出任何你想說的話的命令
演示
bboysoul@bboysoul ~/桌面 $ cowsay bboysoul is a bad guy
_______________________
< bboysoul is a bad guy >
-----------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
apt-get moo
一個顯示系統(tǒng)信息和這個彩蛋和cowsay 差不多也是打印一頭牛,不過你不能讓這頭牛說出你想說的話主題信息的命令
演示
bboysoul@bboysoul ~/桌面 $ apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
..."Have you mooed today?"...
aptitude moo
如果你把moo放在aptitude后面會怎么樣呢?,如果你再在moo后加上-v或-vv或-vvv或者跟多的v呢?
演示
bboysoul@bboysoul ~/桌面 $ aptitude moo
這個程序里沒有復(fù)活節(jié)彩蛋。
bboysoul@bboysoul ~/桌面 $ aptitude moo -v
這個程序里確實沒有復(fù)活節(jié)彩蛋。
bboysoul@bboysoul ~/桌面 $ aptitude moo -vv
我不是已經(jīng)告訴你這個程序里沒有復(fù)活節(jié)彩蛋了嗎?
bboysoul@bboysoul ~/桌面 $ aptitude moo -vvv
停下來!
bboysoul@bboysoul ~/桌面 $ aptitude moo -vvvv
好吧,好吧,如果我給你復(fù)活節(jié)彩蛋,你會停手嗎?
bboysoul@bboysoul ~/桌面 $ aptitude moo -vvvvv
好吧,你贏了。
/----\
-------/ \
/ \
/ |
-----------------/ --------\
----------------------------------------------
bboysoul@bboysoul ~/桌面 $ aptitude moo -vvvvvv
這是什么?當(dāng)然是一只大象被一條蛇吞了。
fortune
這個命令會隨機輸出一段話
演示
bboysoul@bboysoul ~/桌面 $ fortune
No live organism can continue for long to exist sanely under conditions of
absolute reality; even larks and katydids are supposed, by some, to dream.
Hill House, not sane, stood by itself against its hills, holding darkness
within; it had stood so for eighty years and might stand for eighty more.
Within, walls continued upright, bricks met neatly, floors were firm, and
doors were sensibly shut; silence lay steadily against the wood and stone
of Hill House, and whatever walked there, walked alone.
-- Shirley Jackson, "The Haunting of Hill House"
如果你安裝了fortune-zh,你在終端輸入fortune-zh后,會輸出唐詩三百首
演示
bboysoul@bboysoul ~/桌面 $ fortune-zh
《登樓》
作者:杜甫
花近高樓傷客心,萬方多難此登臨。
錦江春色來天地,玉壘浮云變古今。
北極朝廷終不改,西山寇盜莫相侵。
可憐后主還祠廟,日暮聊為梁父吟。
注:此時再敲入fortune回車,輸出的內(nèi)容包括中、英文,你可以將它和lolcat,rev,cowsay一起使用,除此之外和cowsay類似的命令有xcowsay和cowthink
toilet
它是能用字母拼寫出更大字母的工具,figlet這個工具和它差不多
aafire
這個會在屏幕上顯示除一團燃燒著的火焰
安裝
sudo apt install libaa-bin
只要在終端中輸入aafire就可以查看到一團火焰了
oneko
如果你覺得每天對著屏幕很無聊,那這個命令就可以幫助你了,向終端中輸入oneko,會跳出一只小貓來陪你玩耍
xeyes
輸入這個命令屏幕上會顯示出一只眼睛,眼睛還會跟著鼠標轉(zhuǎn)
pv
你是不是經(jīng)常在電影中看到一串字勻速的顯示出來,好像有人在打鍵盤,pv命令可以做到
演示
bboysoul@bboysoul ~/桌面 $ echo bboysoul is a bad guy | pv -qL 10
bboysoul is a bad guy
當(dāng)然在這里是顯示不出動畫的
rig
這個命令會隨機顯示出一些人名,地名記錄等
演示
bboysoul@bboysoul ~/桌面 $ rig
Terry Howe
215 Shalton Dr
Ames, IA 50010(515) xxx-xxxx
yes
在這個命令后跟上文字會一直輸出這些文字
演示
bboysoul@bboysoul ~/桌面 $ yes bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
bboysoul is a bad guy
cal
這個命令可以打印日歷
演示
bboysoul@bboysoul ~/桌面 $ cal
一月 2017
日 一 二 三 四 五 六
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
factor
這個命令可以分解因數(shù)
演示
bboysoul@bboysoul ~/桌面 $ factor 15
15: 3 5
bboysoul@bboysoul ~/桌面 $ factor 12
12: 2 2 3
telnet
這個不是有趣的命令,但是你可以用它來看星球大戰(zhàn)
用法
telnet towel.blinkenlights.nl
espeak
這個會把在它后面的字符都讀出來
用法
espeak bboysoul is a bad guy
|
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn