Linux各种好玩的命令

准备工作

nmp 安装 (待会儿会使用npm安装cowsay)

配置nodejs本地yum源

curl -sL -o /etc/yum.repos.d/khara-nodejs.repo https://copr.fedoraproject.org/coprs/khara/nodejs/repo/epel-7/khara-nodejs-epel-7.repo

yum install -y nodejs nodejs-npm


git 安装(使用git工具clone fortune中文字库)

yum install git

cowsay安装配置

cowsay 安装

npm install -g cowsay

cowsay 使用

指定说话内容

 root@testplan:~ # cowsay welcome to juzldream.
 < welcome to juzldream. >
  -----------------------
         \   ^__^
          \  (oo)\_______
             (__)\       )\/\
                 ||----w |
                 ||     ||

查看可选动物

root@testplan:~ # cowsay -l
beavis.zen  bong  bud-frogs  bunny  cheese  cower 
 daemon  default  doge  dragon-and-cow  dragon 
 elephant-in-snake  elephant  eyes  flaming-sheep  ghostbusters  goat  hedgehog  hellokitty  kiss  kitty  
koala  kosh  luke-koala  mech-and-cow  meow  milk  
moofasa  moose  mutilated  ren  satanic  sheep  
skeleton  small  squirrel  stegosaurus  stimpy
  supermilker  surgery  telebears  turkey  turtl
e  tux  vader-koala  vader  whale  www

使用其他动物

root@testplan:~ # cowsay -f sheep welcome to juzldream.
 _______________________
< welcome to juzldream. >
 -----------------------
  \
   \
       __     
      UooU\.'@@@@@@`.
      \__/(@@@@@@@@@@)
           (@@@@@@@@)
           `YY~~~~YY'
            ||    ||
[root@handsome-man ~]# cowsay -r 。。。。。。
 ______________
< 。。。。。。 >
 --------------
                       \              ___
                        \            ///\\\/----
                         \           ||//\///\\\\
                          \         /`-.__\\\\///|
                           \       /_  _   `--._|
                               ___-`---.___     |
                          ----------       `-.__|
                       ----------( \.-.o o;_  \\\\\\
                      ------------| `-'-.(_)--/\\\\\
                     /------//|   `-'       )\\\\\\
                     /------///\  `--'\  /"\\\\\\\\\\
                     --------///\  `-' /\\\\\\\\\\\\\\\   .-.  _
                      //------>---'\\\\\\\\\\\\\\\\\  | | / )
        _              // |__| )\\\\\\\\\\\\\\\\  | |/ /
       / `.       _    .-'  >\    <-._.--.\\\\\\\\\  _|__ /_
      (    \  . .' )    /// ( .- (    )() ( )_)\\\\\\\  / __)-' )
       `-   | |/           ( ) ( )|--'() ( ) \\\\\\\\   \  `(.-')
          .---/ _()        /// ( ) () |  /() ( )  \\\\\\     > ._>-'
        ()+8 8 |            |  ( )( ) | /( ) ( )   \        / \/
        ()+8 8/-()__        /  ( )( ) \/ ( ) ( )\   \      /\ /
          |8 8|     `.     |   () ( ).--.( ) ( )-\   \    /   |
        ()+||||-() (_/    _/   /| ()/ || \ )  ()()\   \__/   /
        .-`||||          /\\  / / ()|/  \ ()     \ `.  /|   |
       (_  ||||        .'   _/-/  ()\/||\/()     \-. \     /
           ||( \_    .'    ( )/  ( ) `--' ( )     > ) `.  /
        .--|_|\_ \ .'    .'( )_  ( )-.___.-( )  (  )    ""
        `.__)-.( /.'\  .'   (  )'_)-.______( ).-')'
          (___)|  \ .-'      `--'`-._.---._.(_))-'
          (__)|| +-)'           |   /_.--.\    |
          (__)||-'              `._|`-'  ) )  _|
            |||||                |  `.`-'.'--' /
            |||||               .'    | |   .\|
            |||||             .'   _.-|_|     \
            |||||            /   .'.-'  \\     |
            ||||||         .'     /      \     \
             |||||        /     .'        \     \
             |||||      .'     /           |    |
            _|||||----./     .'            \     \
         .-' |||||   `/     /               \    |
       .'     |||||   (    /                |    |
      /       |||||   |    |\                \   |
      |     .'|||||.  |    ||                |    )
       \    | |||||\  |    |/                |    \
        \   | ||||||  |    |                 /    |
        |    `.||||' /     |                |     \
        |      ||||  |     \                |      |
        /      ||||| |      |\             /       |
       /       |||||_/      | \            |        \
      /      ------'|       |  |           |        |
     |      |___.---|        \ |           /        |
     |             /         | |          |         \
     |             |         \/           |          |
     |             /          |           |          |
      \           |           |           |          |
       `.        /             \          |           \
         `--.___`-_            |_         |           |
           .-.__.-''-,_         -         |           \_'
          <`.         '.-//|-/``        (_)          _.-'
           `._-.____.-'.|   /            '//, ,\.-'`` |--.
              `-.____.' |__/               '''\      -'/ |
                                               `.   _.// |
                                                 `-.__.-'

VK
[root@handsome-man ~]# 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值