**node
迷你小火車——strem locomotive**linux
root@jacktian-virtual-machine:~# sudo apt-get install sl
安裝完畢後,在終端下輸入 sl ,就能夠看到以下效果;git
輸入 sl-h 命令,能夠看到一連串的小火車緩緩駛過;github
***帝國數據字節流
經過 Linux 終端下安裝並運行以下兩條命令,完成僞裝本身是***高手,無孔不入的來***對方的計算機。shell
root@jacktian-virtual-machine:~# sudo apt-get install cmatrix root@jacktian-virtual-machine:~# cmatrix
參數:-C + 顏色英文;express
例如:camtrix -C yellow(黃色)/ red(紅色)等等;npm
退出:Ctrl + c 快捷鍵;ubuntu
root@jacktian-virtual-machine:~# cmatrix -C yellow
高端大氣上檔次的儀表盤——blessedcontrib安全
root@jacktian-virtual-machine:~# sudo apt-get install npm root@jacktian-virtual-machine:~# sudo apt install nodejs-legacy root@jacktian-virtual-machine:~# git clone https://github.com/yaronn/blessed-contrib.git root@jacktian-virtual-machine:~# cd blessed-contrib/ root@jacktian-virtual-machine:~/blessed-contrib# npm install root@jacktian-virtual-machine:~/blessed-contrib# node ./examples/dashboard.js
高端大氣上檔次的儀表盤——hollywood服務器
Ubuntu操做系統能夠直接經過如下命令安裝並運行。
root@jacktian-virtual-machine:~# sudo apt install hollywood root@jacktian-virtual-machine:~# hollywood
ASCII藝術框——box
root@jacktian-virtual-machine:~# sudo apt-get install boxes 正在讀取軟件包列表... 完成 正在分析軟件包的依賴關係樹 正在讀取狀態信息... 完成 boxes 已是最新版 (1.2-3)。 升級了 0 個軟件包,新安裝了 0 個軟件包,要卸載 0 個軟件包,有 188 個軟件包未被升級。 root@jacktian-virtual-machine:~# echo "JackTian" | boxes /************/ /* JackTian */ /************/
大火燃燒起字符——aafire
root@jacktian-virtual-machine:~# sudo apt-get install libaa-bin root@jacktian-virtual-machine:~# aafire
跟隨鼠標方向看的眼睛
root@jacktian-virtual-machine:~# sudo apt-get install x11-apps root@jacktian-virtual-machine:~# xeyes
鼠標走到哪裏,這個眼睛就會跟隨鼠標的方向走到哪裏。
藝術字生成器——toilet
root@jacktian-virtual-machine:~# sudo apt-get install toilet
經過在命令中加 -f 更換字體或濾鏡,你能夠把命令裏的 Welcome to HongKong!文字換成你想要轉換的字符。
如下爲雙色字的效果;
彩色字的效果;若是第一次玩,不知道怎麼玩的話,能夠輸入 man toilet 命令查看更多幫助信息,quit/q 鍵爲退出鍵。
藝術字生成器——figlet
root@jacktian-virtual-machine:~# sudo apt-get install figlet
輸入 figlet Welcome to HongKong!這條命令,固然了,你也能夠把命令裏的 Welcome to HongKong!換成你想要轉換的字符。
名人名言,古詩句的輸出
安裝完畢後,執行命令:fortune 就能夠看到以下效果。
root@jacktian-virtual-machine:~# sudo apt-get install fortune fortune-zh root@jacktian-virtual-machine:~# fortune 兒童散學歸來早,忙趁東風放紙鳶。 -- 高鼎《村居》 root@jacktian-virtual-machine:~# fortune 惟有相思似春色,江南江北送君歸。 -- 王維《送沈子歸江東 / 送沈子福之江東》 root@jacktian-virtual-machine:~# fortune 《登樓》 做者:杜甫 花近高樓傷客心,萬方多難此登臨。 錦江春色來天地,玉壘浮雲變古今。 北極朝廷終不改,西山寇盜莫相侵。 可憐後主還祠廟,日暮聊爲梁父吟。 root@jacktian-virtual-machine:~# fortune 《詩經‧ 小雅‧ 甫田之什‧ 甫田》 倬彼甫田,歲取十千。我取其陳,食我農人,自古有年。 今適南畝,或耘或耔。黍稷薿薿。攸介攸止,烝我髦士。 以我齊明,與我犧羊,以社以方。 我田既臧,農夫之慶。琴瑟擊鼓,以御田祖。 以祈甘雨,以介我稷黍,以穀我士女。 曾孫來止,以其婦子,饁彼南畝。 田畯至喜,攘其左右,嘗其旨否。 禾易長畝,終善且有。曾孫不怒,農夫克敏。 曾孫之稼,如茨如梁,曾孫之庾,如坻如京。 乃求千斯倉,乃求萬斯箱,黍稷稻粱。 農夫之慶,報以介福,萬壽無疆。 root@jacktian-virtual-machine:~#
字符串視頻
root@jacktian-virtual-machine:~# sudo apt-get install bb root@jacktian-virtual-machine:~# bb
而後輸入 bb ,選擇 y 加音樂,選擇 8 繼續,便可看到一段用字符串製做的視頻。
字符串水族館
安裝依賴包
root@jacktian-virtual-machine:~# sudo apt-get install libcurses-perl root@jacktian-virtual-machine:~# cd /tmp root@jacktian-virtual-machine:/tmp# wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz root@jacktian-virtual-machine:/tmp# tar -zxvf Term-Animation-2.4.tar.gz root@jacktian-virtual-machine:/tmp# cd Term-Animation-2.4/ root@jacktian-virtual-machine:/tmp/Term-Animation-2.4# sudo perl Makefile.PL && make && make test root@jacktian-virtual-machine:/tmp/Term-Animation-2.4# sudo make install
安裝軟件
root@jacktian-virtual-machine:/tmp/Term-Animation-2.4# cd /tmp root@jacktian-virtual-machine:/tmp# sudo wget --no-check-certificate https://robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
執行相關命令
root@jacktian-virtual-machine:/tmp# tar -zxvf asciiquarium.tar.gz root@jacktian-virtual-machine:/tmp# cd asciiquarium_1.1/ root@jacktian-virtual-machine:/tmp/asciiquarium_1.1# sudo cp asciiquarium /usr/local/bin root@jacktian-virtual-machine:/tmp/asciiquarium_1.1# sudo chmod 0755 /usr/local/bin/asciiquarium root@jacktian-virtual-machine:/tmp/asciiquarium_1.1# asciiquarium
效果圖
這頭牛竟然會說話?
root@jacktian-virtual-machine:~# sudo apt-get install cowsay
使用 -l 參數能夠查看它能提供的全部動物,也能夠經過 -f 參數加人物名字來更換說話人物;
root@jacktian-virtual-machine:~# cowsay -l Cow files in /usr/share/cowsay/cows: apt bud-frogs bunny calvin cheese cock cower daemon default dragon dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep ghostbusters gnu hellokitty kiss koala kosh luke-koala mech-and-cow milk moofasa moose pony pony-smaller ren sheep skeleton snowman stegosaurus stimpy suse three-eyes turkey turtle tux unipony unipony-smaller vader vader-koala www
利用管道符,將 fortune 輸出的詩句以 cowsay 的形式來展現;
也能夠加個顏色的方式將詩句以彩色的形式進行輸出;
下面這頭會說話的牛,在 xshell 終端是沒法實現的,須要在客戶端頁面上進行執行命令:xcowsay 「xxx」 xxx 裏面的內容能夠本身隨意定義並進行輸出;
yes命令
yes Hello JackTian:這條命令執行完以後,屏幕會不斷的輸出;
yes Hello JackTian | lolcat:這條命令是執行時將以彩色的形式不斷的進行輸出;
固然了,」Hello JackTian」能夠將本身想要輸出的東西進行轉換的;
退出鍵:Ctrl + c 便可退出。
screenfetch——顯示系統、主題等信息
在Ubuntu服務器上運行以下命令,便可很清楚的知道當前系統環境;
linuxlogo
Ubuntu服務器上運行linux_logo
root@jacktian-virtual-machine:~# sudo apt install linuxlogo root@jacktian-virtual-machine:~# linux_logo
執行命令:linux_logo -f -L list 可查看所使用的 Logos 相關描述;
r```
oot@jacktian-virtual-machine:~# 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 Banner Yes blankon An ASCII BlankOn logo
14 Classic Yes core Core Linux Logo
15 Banner Yes debian_banner_2 Debian Banner 2
16 Banner Yes debian_banner Debian Banner (white)
17 Classic Yes debian_old Debian Old Penguin Logos
18 Classic Yes debian Debian Swirl Logos
19 Classic Yes gnu_linux Classic GNU/Linux
20 Banner Yes mandrake_banner Mandrake(TM) Linux Banner
21 Banner Yes mandrake Mandrakelinux(TM) Banner
22 Banner Yes mandriva Mandriva(TM) Linux Banner
23 Banner Yes pld PLD Linux banner
24 Classic Yes raspi An ASCII Raspberry Pi logo
25 Banner Yes redhat RedHat Banner (white)
26 Banner Yes slackware Slackware Logo
27 Banner Yes sme SME Server Banner Logo
28 Banner Yes sourcemage_ban Source Mage GNU/Linux banner
29 Banner Yes sourcemage Source Mage GNU/Linux large
30 Banner Yes suse SUSE Logo
31 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.
root@jacktian-virtual-machine:~# sudo apt-get install neofetch
root@jacktian-virtual-machine:~# neofetch
![](https://s4.51cto.com/images/blog/202101/26/af0b3c5076624579415eecba9a05aaa9.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 執行下面這條命令可循環打印全部支持打印的 Logos;
root@jacktian-virtual-machine:~# for i in {1..30};do linux_logo -f -L $i;sleep 0.5;done
![](https://s4.51cto.com/images/blog/202101/26/7ba79391f80be307a456647c2a86b97b.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) **圖片畫風彩蛋** 採用恩典的照片簡單作了個演示,也能夠將下面的第二條命令中的 wget 後面的連接換成任意圖片的URL。
root@jacktian-virtual-machine:~# sudo apt-get install aview imagemagick
root@jacktian-virtual-machine:~# wget http://sc.zolsky.com/endian/img/endiantupian/endianbizhi_2/datu/zolsky_endianbizhi_21.jpeg
root@jacktian-virtual-machine:~# asciiview zolsky_endianbizhi_21.jpeg
![](https://s4.51cto.com/images/blog/202101/26/79d84208678ccf50ddda31ad46af3ba9.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) ![](https://s4.51cto.com/images/blog/202101/26/948910b476691ed5075146b85897b01b.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) **隨機產生人名與地址信息**
root@jacktian-virtual-machine:~# sudo apt-get install rig
root@jacktian-virtual-machine:~# rig
Olga Burton
81 Buncaneer Dr
Rome, GA 30161
(404) xxx-xxxx
root@jacktian-virtual-machine:~# rig
Jami Carroll
481 Cimenny Rd
Raleigh, NC 27611
(919) xxx-xxxx
root@jacktian-virtual-machine:~# rig
Bryon Newman
539 Rider Blvd
Vancouver, WA 98661
(206) xxx-xxxx
root@jacktian-virtual-machine:~#
**超級牛力——包管理器的彩蛋** 經過執行 apt-get help 命令能夠看到最後一行本 APT 具備超級牛力。說明你的系統能夠運行當前這個菜單;
root@jacktian-virtual-machine:~# apt-get help
apt 1.7.0 (amd64)
用法:apt-get [選項] 命令
apt-get [選項] install|remove 軟件包1 [軟件包2 ...]
apt-get [選項] source 軟件包1 [軟件包2 ...]
apt-get 能夠從認證軟件源下載軟件包及相關信息,以便安裝和升級軟件包,
或者用於移除軟件包。在這些過程當中,軟件包依賴會被妥善處理。
經常使用命令:
update - 取回更新的軟件包列表信息
upgrade - 進行一次升級
install - 安裝新的軟件包(注:軟件包名稱是 libc6 而非 libc6.deb)
remove - 卸載軟件包
purge - 卸載並清除軟件包的配置
autoremove - 卸載全部自動安裝且再也不使用的軟件包
dist-upgrade - 發行版升級,見 apt-get(8)
dselect-upgrade - 根據 dselect 的選擇來進行升級
build-dep - 爲源碼包配置所需的編譯依賴關係
clean - 刪除全部已下載的包文件
autoclean - 刪除已下載的舊包文件
check - 覈對以確認系統的依賴關係的完整性
source - 下載源碼包文件
download - 下載指定的二進制包到當前目錄
changelog - 下載指定軟件包,並顯示其變動日誌(changelog)
參見 apt-get(8) 以獲取更多關於可用命令的信息。
程序配置選項及語法都已經在 apt.conf(5) 中闡明。
欲知如何配置軟件源,請參閱 sources.list(5)。
軟件包及其版本偏好能夠經過 apt_preferences(5) 來設置。
關於安全方面的細節能夠參考 apt-secure(8).
本 APT 具備超級牛力。
在命令行界面輸入 apt-get moo 能夠看到這個彩蛋。 ![](https://s4.51cto.com/images/blog/202101/26/63fb9117b452c6b14390b40595819c92.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) aptitiude 包管理器也具備相似的彩蛋,具體可執行 --help 來進行查看相關選項與執行的動做;
root@jacktian-virtual-machine:~# apt install aptitude root@jacktian-virtual-machine:~# aptitude --help aptitude 0.8.10 用法:aptitude [-S 文件名] [-u|-i] aptitude [選項] <動做> ... Actions (if none is specified, aptitude will enter interactive mode): install Install/upgrade packages. remove Remove packages. purge Remove packages and their configuration files. hold Place packages on hold. unhold Cancel a hold command for a package. markauto Mark packages as having been automatically installed. unmarkauto Mark packages as having been manually installed. forbid-version Forbid aptitude from upgrading to a specific package version. update Download lists of new/upgradable packages. safe-upgrade Perform a safe upgrade. full-upgrade Perform an upgrade, possibly installing and removing packages. build-dep Install the build-dependencies of packages. forget-new Forget what packages are "new". search Search for a package by name and/or expression. show Display detailed info about a package. showsrc Display detailed info about a source package (apt wrapper). versions Displays the versions of specified packages. clean Erase downloaded package files. autoclean Erase old downloaded package files. changelog View a package's changelog. download Download the .deb file for a package (apt wrapper). source Download source package (apt wrapper). reinstall Reinstall a currently installed package. why Explain why a particular package should be installed. why-not Explain why a particular package cannot be installed. add-user-tag Add user tag to packages/patterns. remove-user-tag Remove user tag from packages/patterns. Options: -h This help text. --no-gui Do not use the GTK GUI even if available. -s Simulate actions, but do not actually perform them. -d Only download packages, do not install or remove anything. -P Always prompt for confirmation of actions. -y Assume that the answer to simple yes/no questions is 'yes'. -F format Specify a format for displaying search results; see the manual. -O order Specify how search results should be sorted; see the manual. -w width Specify the display width for formatting search results. -f Aggressively try to fix broken packages. -V Show which versions of packages are to be installed. -D Show the dependencies of automatically changed packages. -Z Show the change in installed size of each package. -v Display extra information. (may be supplied multiple times). -t [release] Set the release from which packages should be installed. -q In command-line mode, suppress the incremental progress indicators. -o key=val Directly set the configuration option named 'key'. --with(out)-recommends Specify whether or not to treat recommends as strong dependencies. -S fname Read the aptitude extended status info from fname. -u Download new package lists on startup. (terminal interface only) -i Perform an install run on startup. (terminal interface only) See the manual page for a complete list and description of all the options. This aptitude does not have Super Cow Powers.
測試效果以下: ![](https://s4.51cto.com/images/blog/202101/26/b609449c720a369483461514f7f3b3d1.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)