轉(zhuǎn)帖|使用教程|編輯:我只采一朵|2017-06-12 10:10:55.000|閱讀 202 次
概述: screenfetch一個(gè)顯示系統(tǒng)信息和主題信息的命令使用方法輸入screenfetch效果圖linuxlogo顯示linux版本logo圖片及系統(tǒng)信息使用方法輸入linuxlogo效果圖查看內(nèi)置的所有圖案bboysoul@bboysoul ~/桌面 $ linux_logo -f -L ...
# 界面/圖表報(bào)表/文檔/IDE等千款熱門(mén)軟控件火熱銷(xiāo)售中 >>
screenfetch
一個(gè)顯示系統(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,在輸入密碼的時(shí)候,如果輸入錯(cuò)誤了,那么終端開(kāi)始胡說(shuō)八道了
演示
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 次錯(cuò)誤密碼嘗試
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 次錯(cuò)誤密碼嘗試
bboysoul@bboysoul ~/桌面 $
sl
當(dāng)你輸入sl或者LS后屏幕會(huì)跑出一個(gè)蒸汽火車(chē)出來(lái)
不信你試試
cmatrix
這個(gè)命令的作用就是讓終端顯示和黑客帝國(guó)一樣的滾動(dòng)的文字
用法
在終端輸入cmatrix
rev
這個(gè)命令可以將所有的文本逆序輸出
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
這個(gè)命令可以讓你輸出的文字變?yōu)椴噬?/div>
演示
bboysoul@bboysoul ~/桌面 $ echo bboysoul is a bad guy | lolcat
bboysoul is a bad guy
當(dāng)然上面的輸出是不會(huì)變成彩色的
Cowsay
cowsay 是一個(gè)打印一頭牛然后讓那頭牛說(shuō)出任何你想說(shuō)的話的命令
演示
bboysoul@bboysoul ~/桌面 $ cowsay bboysoul is a bad guy
_______________________
< bboysoul is a bad guy >
-----------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
apt-get moo
一個(gè)顯示系統(tǒng)信息和這個(gè)彩蛋和cowsay 差不多也是打印一頭牛,不過(guò)你不能讓這頭牛說(shuō)出你想說(shuō)的話主題信息的命令
演示
bboysoul@bboysoul ~/桌面 $ apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
..."Have you mooed today?"...
aptitude moo
如果你把moo放在aptitude后面會(huì)怎么樣呢?,如果你再在moo后加上-v或-vv或-vvv或者跟多的v呢?
演示
bboysoul@bboysoul ~/桌面 $ aptitude moo
這個(gè)程序里沒(méi)有復(fù)活節(jié)彩蛋。
bboysoul@bboysoul ~/桌面 $ aptitude moo -v
這個(gè)程序里確實(shí)沒(méi)有復(fù)活節(jié)彩蛋。
bboysoul@bboysoul ~/桌面 $ aptitude moo -vv
我不是已經(jīng)告訴你這個(gè)程序里沒(méi)有復(fù)活節(jié)彩蛋了嗎?
bboysoul@bboysoul ~/桌面 $ aptitude moo -vvv
停下來(lái)!
bboysoul@bboysoul ~/桌面 $ aptitude moo -vvvv
好吧,好吧,如果我給你復(fù)活節(jié)彩蛋,你會(huì)停手嗎?
bboysoul@bboysoul ~/桌面 $ aptitude moo -vvvvv
好吧,你贏了。
/----\
-------/ \
/ \
/ |
-----------------/ --------\
----------------------------------------------
bboysoul@bboysoul ~/桌面 $ aptitude moo -vvvvvv
這是什么?當(dāng)然是一只大象被一條蛇吞了。
fortune
這個(gè)命令會(huì)隨機(jī)輸出一段話
演示
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后,會(huì)輸出唐詩(shī)三百首
演示
bboysoul@bboysoul ~/桌面 $ fortune-zh
《登樓》
作者:杜甫
花近高樓傷客心,萬(wàn)方多難此登臨。
錦江春色來(lái)天地,玉壘浮云變古今。
北極朝廷終不改,西山寇盜莫相侵。
可憐后主還祠廟,日暮聊為梁父吟。
注:此時(shí)再敲入fortune回車(chē),輸出的內(nèi)容包括中、英文,你可以將它和lolcat,rev,cowsay一起使用,除此之外和cowsay類(lèi)似的命令有xcowsay和cowthink
toilet
它是能用字母拼寫(xiě)出更大字母的工具,figlet這個(gè)工具和它差不多
aafire
這個(gè)會(huì)在屏幕上顯示除一團(tuán)燃燒著的火焰
安裝
sudo apt install libaa-bin
只要在終端中輸入aafire就可以查看到一團(tuán)火焰了
oneko
如果你覺(jué)得每天對(duì)著屏幕很無(wú)聊,那這個(gè)命令就可以幫助你了,向終端中輸入oneko,會(huì)跳出一只小貓來(lái)陪你玩耍
xeyes
輸入這個(gè)命令屏幕上會(huì)顯示出一只眼睛,眼睛還會(huì)跟著鼠標(biāo)轉(zhuǎn)
pv
你是不是經(jīng)常在電影中看到一串字勻速的顯示出來(lái),好像有人在打鍵盤(pán),pv命令可以做到
演示
bboysoul@bboysoul ~/桌面 $ echo bboysoul is a bad guy | pv -qL 10
bboysoul is a bad guy
當(dāng)然在這里是顯示不出動(dòng)畫(huà)的
rig
這個(gè)命令會(huì)隨機(jī)顯示出一些人名,地名記錄等
演示
bboysoul@bboysoul ~/桌面 $ rig
Terry Howe
215 Shalton Dr
Ames, IA 50010(515) xxx-xxxx
yes
在這個(gè)命令后跟上文字會(huì)一直輸出這些文字
演示
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
這個(gè)命令可以打印日歷
演示
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
這個(gè)命令可以分解因數(shù)
演示
bboysoul@bboysoul ~/桌面 $ factor 15
15: 3 5
bboysoul@bboysoul ~/桌面 $ factor 12
12: 2 2 3
telnet
這個(gè)不是有趣的命令,但是你可以用它來(lái)看星球大戰(zhàn)
用法
telnet towel.blinkenlights.nl
espeak
這個(gè)會(huì)把在它后面的字符都讀出來(lái)
用法
espeak bboysoul is a bad guy
|
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn