咔叽游戏

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 462|回复: 0

[linux shell] linux几个没用但是有趣的命令(收藏)

[复制链接]
  • TA的每日心情
    无聊
    2019-5-27 08:20
  • 签到天数: 4 天

    [LV.2]圆转纯熟

    发表于 2021-12-31 17:33:46 | 显示全部楼层 |阅读模式
    目录

      figlet 字符画aafire 火焰fortune 随机句子sl 小火车cowsay 会说话的牛cmatrix 黑客帝国asciiquarium 水族馆asciiview 图片转换字符画hollywood好莱坞黑客的屏幕ninvaders 太空入侵者bastet 俄罗斯方块


    figlet 字符画

    figlet 可以将英文字符串以字符画的形式输出
    安装
    > yum install figlet -y
    运行
    > figlet rumenz.com
                                                             
    _ __ _   _ _ __ ___   ___ _ __  ____  ___ ___  _ __ ___  
    | '__| | | | '_ ` _ \ / _ \ '_ \|_  / / __/ _ \| '_ ` _ \
    | |  | |_| | | | | | |  __/ | | |/ / | (_| (_) | | | | | |
    |_|   \__,_|_| |_| |_|\___|_| |_/___(_)___\___/|_| |_| |_|

    aafire 火焰

    安装
    > yum install aafire -y
    运行
    > aafire
    linux几个没用但是有趣的命令(收藏)-1.gif


    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
    linux几个没用但是有趣的命令(收藏)-2.gif


    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
    linux几个没用但是有趣的命令(收藏)-3.gif


    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
    linux几个没用但是有趣的命令(收藏)-4.gif


    asciiview 图片转换字符画

    asciiview 命令可以将任意图片转换成字符画的形式输出,安装方法如下:
    > sudo apt-get install aview imagemagick
    > asciiview hepburn.pen
    linux几个没用但是有趣的命令(收藏)-5.jpg


    hollywood好莱坞黑客的屏幕

    安装
    > sudo apt-get update
    > sudo apt-get install byobu hollywood
    运行
    > sudo apt-get install hollywood
    linux几个没用但是有趣的命令(收藏)-6.gif


    ninvaders 太空入侵者

    安装
    > sudo apt-get install ninvaders
    运行
    > ninvaders
    linux几个没用但是有趣的命令(收藏)-7.gif


    bastet 俄罗斯方块

    安装
    > sudo apt-get install bastet
    执行
    > bastet
    linux几个没用但是有趣的命令(收藏)-8.gif

    到此这篇关于linux几个没用但是有趣的命令(收藏)的文章就介绍到这了,更多相关linux有趣命令内容请搜索咔叽论坛以前的文章或继续浏览下面的相关文章希望大家以后多多支持咔叽论坛!

    原文地址:https://www.jb51.net/article/228785.htm

    QQ|免责声明|小黑屋|手机版|Archiver|咔叽游戏

    GMT+8, 2024-3-29 08:14

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

    快速回复 返回顶部 返回列表