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

50 篇文章 3 订阅

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

img

ninvaders 太空入侵者

安装
> sudo apt-get install ninvaders
运行
> ninvaders

img

bastet 俄罗斯方块

安装
> sudo apt-get install bastet
执行
> bastet

img

原文链接:https://rumenz.com/rumenbiji/linux-useless-interesting.html
微信公众号:

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值