Linux 几个没用但是有趣的命令~
来自:入门小站
figlet 字符画
figlet 可以将英文字符串以字符画的形式输出
安装
> yum install figlet -y运行
> figlet rumenz.com _ __ _ _ _ __ ___ ___ _ __ ____ ___ ___ _ __ ___ | '__| | | | '_ ` _ \ / _ \ '_ \|_ / / __/ _ \| '_ ` _ \ | | | |_| | | | | | | __/ | | |/ / | (_| (_) | | | | | ||_| \__,_|_| |_| |_|\___|_| |_/___(_)___\___/|_| |_| |_|aafire 火焰
安装
> yum install aafire -y运行
> aafirefortune 随机句子
安装
> yum install fortune-mod运行
> fortuneWe only acknowledge small faults in order to make it appear that we arefree from great ones. -- La Rouchefoucauldyes 重复输出一句话
yes 命令重复输出一句话:
> yes hello,worldhello,worldhello,worldhello,worldsl 小火车
安装
> yum install -y sl运行
> slcowsay 会说话的牛
运行
安装
> yum install cowsay -y运行
> cowsay "rumenz.com" ____________< rumenz.com > ------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
// 查看支持的动物> cowsay -l
//使用-f 参数切换小动物
> cowsay -f tux "我是一只小鸭子" _________< 我是一只小鸭子 > --------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/cmatrix 黑客帝国
安装
> wget https://jaist.dl.sourceforge.net/project/cmatrix/cmatrix/1.2a/cmatrix-1.2a.tar.gztar -zxvf cmatrix-1.2a.tar.gzcd cmatrix-1.2a./configure && make && make install运行
> cmatrixasciiquarium 水族馆
安装
> yum install perl-Curses perl-ExtUtils-MakeMaker perl-Data-Dumper -y> cd /tmp> wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.6.tar.gz> tar -zxvf Term-Animation-2.6.tar.gz> cd Term-Animation-2.6/> perl Makefile.PL && make && make test> make install> cp asciiquarium /usr/local/bin> chmod 0755 /usr/local/bin/asciiquarium运行
> asciiquariumasciiview 图片转换字符画
asciiview 命令可以将任意图片转换成字符画的形式输出,安装方法如下:
> sudo apt-get install aview imagemagick> asciiview hepburn.penhollywood好莱坞黑客的屏幕
安装
> sudo apt-get update> sudo apt-get install byobu hollywood运行
> sudo apt-get install hollywoodninvaders 太空入侵者
安装
> sudo apt-get install ninvaders运行
> ninvadersbastet 俄罗斯方块
安装
> sudo apt-get install bastet执行
> bastetEND
相关文章