谁说linux很无趣

  • 1. sl命令
  • 2. yes命令
  • 3. cowsay命令
  • 4. figlet命令
  • 5. cal命令
  • 6. fortune-mod命令
  • 7. cmatrix命令
  • 8. asciiquarium 水族馆
  • 9. htop
  • 10. oneko命令
  • 11. xeyes命令

1. sl命令

需要下载网络源

[root@localhost ~]# yum -y install epel-release
[root@localhost ~]# yum -y install sl
[root@localhost ~]# sl -l
[root@localhost ~]# sl -F
[root@localhost ~]# sl -a// 可以使用alial命令设置别名,去捉弄你朋友。
[root@localhost ~]# alias ls=sl //只是临时生效。开机之后或使用bash命令旧会失效

// 小火车

2. yes命令

// 重复输出yes后面的内容
[root@localhost ~]# yes linux
linux
linux
linux
linux
linux
linux
linux
linux
linux
linux
linux
linux
linux
linux

3. cowsay命令

// 欢迎来到动物园
[root@localhost ~]# yum -y install cowsay[root@localhost ~]# cowsay -l  //查看能显示的动物
Cow files in /usr/share/cowsay:
beavis.zen blowfish bud-frogs bunny cheese cower default dragon
dragon-and-cow elephant elephant-in-snake eyes flaming-sheep fox
ghostbusters head-in hellokitty kiss kitty koala kosh luke-koala
mech-and-cow meow milk moofasa moose mutilated ren sheep skeleton small
stegosaurus stimpy supermilker surgery telebears three-eyes turkey turtle
tux udder vader vader-koala www
// 一只小牛
[root@localhost ~]# cowsay beavis.zen____________
< beavis.zen >------------\   ^__^\  (oo)\_______(__)\       )\/\||----w |||     ||// 一只小鸭
[root@localhost ~]# cowsay -f tux "hello"_______
< hello >-------\\.--.|o_o ||:_/ |//   \ \(|     | )/'\_   _/`\\___)=(___/

4. figlet命令

[root@localhost ~]# yum -y install figlet// 将英文字符以字符画的形式输出
[root@localhost ~]# figlet hello world_          _ _                            _     _
| |__   ___| | | ___   __      _____  _ __| | __| |
| '_ \ / _ \ | |/ _ \  \ \ /\ / / _ \| '__| |/ _` |
| | | |  __/ | | (_) |  \ V  V / (_) | |  | | (_| |
|_| |_|\___|_|_|\___/    \_/\_/ \___/|_|  |_|\__,_|

5. cal命令

// 打印日历
[root@localhost ~]# cal十二月 2021
日 一 二 三 四 五 六1  2  3  45  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

6. fortune-mod命令

[root@192 ~]# yum -y install fortune-mod// 出现一些励志好玩的句子。
[root@192 ~]# fortune
You've always made the mistake of being yourself.-- Eugene Ionesco
[root@192 ~]# fortune
The very powerful and the very stupid have one thing in common.  Instead of
altering their views to fit the facts, they alter the facts to fit their
views ... which can be very uncomfortable if you happen to be one of the
facts that needs altering.-- Doctor Who, "Face of Evil"

7. cmatrix命令

// 黑客帝国

[root@192 ~]# wget https://jaist.dl.sourceforge.net/project/cmatrix/cmatrix/1.2a/cmatrix-1.2a.tar.gz[root@192 ~]# tar xf cmatrix-1.2a.tar.gz
[root@192 ~]# cd cmatrix-1.2a/
[root@192 cmatrix-1.2a]# yum -y install gcc gcc-c++
[root@192 cmatrix-1.2a]# yum -y install ncurses-libs ncurses-devel
[root@192 cmatrix-1.2a]# ./configure --prefix=/usr/local/cmatrix
[root@192 cmatrix-1.2a]# yum clean all
[root@192 cmatrix-1.2a]# make && make install[root@192 bin]# echo 'export PATH=/usr/local/cmatrix/bin:$PATH' > /etc/profile.d/cmatrix.sh
[root@192 bin]# source /etc/profile.d/cmatrix.sh
[root@192 bin]# cmatrix
[root@192 ~]# cmatrix -C blue  //可以换为蓝色// 选项cmatrix
-a 异步滚动
-b:加粗的字符
-B:所有粗体字符(覆盖-B)
-f:强制linux $TERM类型为on
-l: Linux模式(使用矩阵控制台字体)
-o:使用老式滚动
-h:打印用法并退出
-n:无粗体字符(覆盖-b和-b,默认)
-s:“屏幕保护”模式,在第一次击键时退出
-x: X窗口模式,如果你的xterm使用mtx.pcf
-V:打印版本信息并退出
-u delay(0 - 10,默认4):屏幕更新延迟
-C [color]:使用此颜色作为矩阵(默认为绿色)


8. asciiquarium 水族馆

[root@192 bin]# yum install perl-Curses perl-ExtUtils-MakeMaker perl-Data-Dumper -y[root@192 ~]# wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.6.tar.gz[root@192 ~]# tar xf Term-Animation-2.6.tar.gz -C /opt
cd Term-Animation-2.6/
[root@192 Term-Animation-2.6]# yum install cpan -y
[root@192 Term-Animation-2.6]# yum install perl-Curses.x86_64  -y
[root@192 Term-Animation-2.6]# yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker  -y[root@192 Term-Animation-2.6]# perl Makefile.PL && make && make install[root@192 ~]# wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz[root@192 ~]# tar xf asciiquarium.tar.gz -C /opt
[root@192 ~]# cd /opt
[root@192 opt]# cd asciiquarium_1.1/
[root@192 asciiquarium_1.1]# cp asciiquarium /usr/local/bin/
[root@192 asciiquarium_1.1]# chmod +x /usr/local/bin/asciiquarium
[root@192 asciiquarium_1.1]# asciiquarium  //输入此命令便可出现水族馆

// q可以退出

9. htop

逼格超高的图形化Linux系统性能监测命令

[root@localhost ~]# yum -y install htop
[root@localhost ~]# htop

10. oneko命令

可以追着鼠标跑注意在命令行无法显示,需要有图形化界面
// 我使用的命令行的终端所以没有图形显示

[root@localhost ~]# wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/o/oneko-1.2-18.el7.x86_64.rpm[root@localhost ~]# yum -y install oneko-1.2-18.el7.x86_64.rpm
[root@localhost ~]# oneko //使用此命令可以出现一只小猫

11. xeyes命令

此命令和oneko命令一样需要在图形化界面使用
你的鼠标往哪里动,他就会往哪里看

[root@localhost ~]# wget http://mirror.centos.org/centos/7/os/x86_64/Packages/xorg-x11-apps-7.7-7.el7.x86_64.rpm[root@localhost ~]# yum -y install xorg-x11-apps-7.7-7.el7.x86_64.rpm[root@localhost ~]# xeyes

// 此图来自网络

超有趣的linux命令相关推荐

  1. 第5讲:27条超有趣的Linux命令

    27个有趣的Linux命令,假装自己是命令行黑客高手. 本文向新手介绍了Linux操作系统基本原理.命令行基本操作,以及"管道"的概念.这些命令可以在树莓派和Ubuntu系统上运行 ...

  2. 动画演示9个超有趣的Linux命令

    Linux最强大的一个特征就是它有大量的各种小命令工具,这也可以称做是它最有趣的一个地方了. 在这些大量的有用的命令和脚本中,你会发现有少部 分命令工具不那么有用的--如果你不愿意说是完全没用处的话. ...

  3. 9 个超有趣的 Linux 命令动画演示

    Word天,还是第一次看见用Linux命令做出如此有趣的动画,真是涨姿势了,原来程序员们也会走这种路线,感觉萌萌哒! 1 cmatrix 你应该看过好莱坞大片<骇客帝国>,相信你会对电影中 ...

  4. linux管道命令sudo,那些超有趣的Linux命令——第一弹

    8.盯着鼠标看的大眼睛 在命令行界面输入 sudo apt-get install x11-apps 然后输入 xeyes,回车,即可看到效果:一双紧盯着鼠标所在位置的大眼睛. 按ctrl+c退出. ...

  5. 10个非常有趣的Linux命令

    点击上方"方志朋",选择"设为星标" 做积极的人,而不是积极废人 作者丨小柑 https://www.jianshu.com/p/0353fa4942a6 Li ...

  6. Linux 学习笔记之超详细基础linux命令 Part 3

    Linux学习笔记之超详细基础linux命令 by:授客 QQ:1033553122 ---------------------------------接Part 2----------------- ...

  7. Linux有趣小工具命令,终端中的乐趣:6个有趣的Linux命令行工具

    之前, 我们展示了一些有关有趣的 Linux 命令行命令的文章, 这些文章告诉我们, Linux 并不像看起来那样复杂, 如果我们知道如何使用的话, 反而会非常有趣. Linux 命令行可以简洁而** ...

  8. linux1到10累加,10个有趣的 Linux 命令

    在终端工作是一件很有趣的事情.今天,我们将会列举一些有趣得为你带来欢笑的Linux命令. 1. rev 创建一个文件,在文件里面输入几个单词,rev命令会将你写的东西反转输出到控制台. # rev S ...

  9. 趣文:有趣的 Linux 命令

    1. sl 命令 sl是指"steam locomotive(蒸汽机车)",你会看到一辆火车从屏幕右边开往左边...... 安装  $ sudo apt-get install s ...

最新文章

  1. sentinel安装
  2. 仓库码放要求_货物码放规范
  3. 华为 mysql实例监控,华为云文档数据库服务DDS监控告警全新优化
  4. lay和lied_lie和lay的区别和用法是什么
  5. could not load java7_xml导入properties文件报异常:Could not load JDBC driver class [${jdbc.driver}]...
  6. python给图片添加字符
  7. Dist类系列(一):根据字典的key值、value值进行排序
  8. Python学习之urlib模块和urllib2模块学习
  9. 6 如何查看MESSAGE消息
  10. SAP License:SAP Concur是什么?
  11. 快手直播怎么下载?一键轻松下载直播
  12. 百鸡问题的四种(层)解法
  13. 植发搞笑图片_搞笑:终于找到原图了!像不像?
  14. ie11不兼容 html编辑器,IE11下使用eWebEditor编辑器
  15. mysql 连续打卡天数_Sql如何统计连续打卡天数
  16. Windows 7/8 fails to install in VirtualBox, Status: 0xC0000225
  17. CRC-CCITT16(0xFFFF、XModem、0x1D0F、Kermit)
  18. 解读7种水质对咖啡口感的影响
  19. 前端一些好用的小小工具【免费的素材、颜色网站】,持续更新中…
  20. 使用python导出msc.marc后处理数据——PyPost介绍

热门文章

  1. mysql generated_MySQL 5.7新特性之Generated Column
  2. 学习笔记(2):QT/C++从新手到老手系列之QT基础篇-Qt的资源系统及ICONFont下载
  3. password unlock 宏碁enter_宏碁笔记本No bootable device处理与取消BIOS密码实用攻略
  4. 在word文档中插入外部对象(例如插入另一个外部word文档或excel文档)
  5. C语言编程入门——顺序查找
  6. 第08周:吴恩达 Andrew Ng 机器学习
  7. java简单表白的情话_最简单的表白情话,很甜很撩人,脱单必备哦!
  8. 精美文章:只有放下,才能重新开始
  9. 单相电机正反转接线图_单相电机正反转接线图
  10. 命令行进入和退出MySQL