关于linux:linux几个没用但是有趣的命令

7次阅读

共计 1638 个字符,预计需要花费 5 分钟才能阅读完成。

figlet 字符画

figlet 能够将英文字符串以字符画的模式输入

装置

> yum install figlet -y

运行

> figlet rumenz.com
                                                          
 _ __ _   _ _ __ ___   ___ _ __  ____  ___ ___  _ __ ___  
| '__| | | |'_ ` _ \ / _ \ '_ \|_  / / __/ _ \|'_ ` _ \ 
| |  | |_| | | | | | |  __/ | | |/ / | (_| (_) | | | | | |
|_|   \__,_|_| |_| |_|\___|_| |_/___(_)___\___/|_| |_| |_|

aafire 火焰

装置

> yum install aafire -y

运行

> aafire

fortune 随机句子

装置

> yum install fortune-mod

运行

> fortune
We only acknowledge small faults in order to make it appear that we are
free from great ones.
                -- La Rouchefoucauld

yes 反复输入一句话

yes 命令反复输入一句话:

> yes hello,world
hello,world
hello,world
hello,world

sl 小火车

装置

> yum install -y sl

运行

> sl

cowsay 会谈话的牛

运行

装置

> 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.gz
tar -zxvf cmatrix-1.2a.tar.gz
cd cmatrix-1.2a
./configure && make && make install

运行

> cmatrix 

asciiquarium 水族馆

装置

> 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

运行

> asciiquarium 

asciiview 图片转换字符画

asciiview 命令能够将任意图片转换成字符画的模式输入,装置办法如下:

> sudo apt-get install aview imagemagick
> asciiview hepburn.pen

hollywood 好莱坞黑客的屏幕

装置

> sudo apt-get update
> sudo apt-get install byobu hollywood 

运行

> sudo apt-get install hollywood

ninvaders 太空入侵者

装置

> sudo apt-get install ninvaders

运行

> ninvaders

bastet 俄罗斯方块

装置

> sudo apt-get install bastet

执行

> bastet

原文链接:https://rumenz.com/rumenbiji/…
微信公众号: 入门小站

正文完
 0