[root@master ~]# yum -y install sl[root@master ~]# sl --help()(@@)()(@)() @@ O @ O @ O
(@@@)()(@@@@)()+++------____________________________________________|||+-+|| \@@@@@@@@@@@ |____________||____________|/---------||||| \@@@@@@@@@@@@@_||_||_||_||_||||_||_||_||_||+========+-+||||__________________||__________________|_|--/~\------/~\-+|________________|_||__________________||__________________| \O=O \/ (O) (O) (O) (O) (O) (O)//火车帮助文档用man查[root@master ~]# man slNAME
sl - cure your bad habit of mistyping
SYNOPSIS
sl [-alFc ]DESCRIPTION
sl is a highly advanced animation program for curing your bad habit of mistyping.-a An accident is occurring. People cry for help.-l Little version
-F It flies like the galaxy express 999.-c C51 appears instead of D51.SEEALSOls(1)
有4个选项,不同的选项有不同的效果
[root@master ~]# yum -y install fortune-mod[root@master ~]# fortune -n 20
Microsoft is like a mountain with their installed base. Like it
or not, no matter how loud the wind howls, the mountain cannot bow
to it.- Jeff Merkey on linux-advoca^Wkernel
微软的装机量就像一座山。 不管你喜不喜欢,不管风吹得多响,山都不能向它低头。向它低头。
//好像是在嘲讽微软//详情查看帮助文档[root@master ~]# man fortune[root@master ~]# fortune
In Pierre Trudeau, Canada has finally produced a Prime Minister worthy of
assassination.-- John Diefenbaker
[root@master ~]# fortune I would much rather have men ask why I have no statue, than why I have one.-- Marcus Porcius Cato
黑客帝国保护动画
[root@master ~]# wget https://jaist.dl.sourceforge.net/project/cmatrix/cmatrix/1.2a/cmatrix-1.2a.tar.gz[root@master ~]# du -sh cmatrix-1.2a.tar.gz 76K cmatrix-1.2a.tar.gz
[root@master ~]# tar xf cmatrix-1.2a.tar.gz[root@master ~]# cd cmatrix-1.2a/[root@master cmatrix-1.2a]# yum -y install gcc gcc-c++[root@master cmatrix-1.2a]# yum -y install ncurses-libs ncurses-devel[root@master cmatrix-1.2a]# ./configure --prefix=/usr/local/cmatrix
creating cache ./config.cache
checking for a BSD compatible install.../usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the Ccompiler (gcc ) works... yes
checking whether the Ccompiler (gcc ) is a cross-compiler... no
checking whether we are using GNUC... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install.../usr/bin/install -c
。。。。略
53 文件已删除
[root@master cmatrix-1.2a]# make && make install-bash:make: 未找到命令
[root@master cmatrix-1.2a]# yum -y install make[root@master cmatrix-1.2a]# make && make install
gcc -DHAVE_CONFIG_H-I.-I.-I.-g -O2-Wall -Wno-comment -c cmatrix.c
gcc -g -O2-Wall -Wno-comment -o cmatrix cmatrix.o -lncurses -lncurses
make[1]: 进入目录“/root/cmatrix-1.2a”
/bin/sh ./mkinstalldirs /usr/local/cmatrix/bin
mkdir /usr/local/cmatrix
mkdir /usr/local/cmatrix/bin
/usr/bin/install -c cmatrix /usr/local/cmatrix/bin/cmatrix
make install-man1
make[2]: 进入目录“/root/cmatrix-1.2a”
/bin/sh ./mkinstalldirs /usr/local/cmatrix/man/man1
mkdir /usr/local/cmatrix/man
mkdir /usr/local/cmatrix/man/man1
/usr/bin/install -c -m 644./cmatrix.1/usr/local/cmatrix/man/man1/cmatrix.1
make[2]: 离开目录“/root/cmatrix-1.2a”
Installing matrix fonts in /usr/lib/kbd/consolefonts...
make[1]: 离开目录“/root/cmatrix-1.2a”
[root@master cmatrix-1.2a]# echo 'export PATH=/usr/local/cmatrix/bin:$PATH' > /etc/profile.d/cmatrix.sh[root@master cmatrix-1.2a]# source /etc/profile.d/cmatrix.sh[root@master ~]# cmatrix --helpUsage: cmatrix -[abBfhlsVx][-u delay][-C color]-a: Asynchronous scroll
-b: Bold characters on
-B: All bold characters (overrides -b)-f: Force the linux$TERM type to be on
-l: Linux mode (uses matrix console font)-o:Useold-style scrolling
-h:Print usage andexit-n: No bold characters (overrides -b and-B,default)-s:"Screensaver" mode, exits on first keystroke
-x:X window mode,useif your xterm is using mtx.pcf
-V:Print version information andexit-u delay (0-10,default4):Screen update delay
-C[color]:Usethis color formatrix (default green)-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]:使用此颜色作为矩阵(默认为绿色)[root@master ~]# cmatrix -a!VP?T0H^2K.%, t QG f h 6D.S=O]72> x j p i R<T n + x .Z8 s A{V-2 l v o z k G $ W ( w Y{*K p 6R" [ m x b H X x $ ? @ l B ! b , z V 7 _ I { + D {
K Q 3 G ( T , 6 c s & * ! k 5 L 0 e p a O 0 i V x + V ; ' c Y M B _ ? 8 g & z T W ] 5 5 [
* @ o i ' 6 X P c + e F > H $ d B ? ^ ! i u * ` H ` s X J 5 q 2 R 0 j + ? | $ 9 , t B
H Z V v ; ` ] k N . 0 S y M . r } 6 [ n ] x c b 3 t ^ Z m g 6 ` O X R j r l a < > \ . & o d f 8 E
_ 7 M m k y 2 A o 9 \ ` E 9 3 W U j o / | N G c ; V B < R I y J S l _ R 3 T F - z } j ! = [ Y h : q
* T 5 k & V f D w 5 - K d v 9 ) > \ [ } O z K 9 ^ k 5 [ p > 6 $ . ; R M A Z 9 h < 7 { W N u } B O m
r s H ( r w $ % g u > W 6 S = ^ r d J @ y e T K f } x u | N t < ] / 3 Q v , ' ` A L d # X H v c , J `
{ P c = Z , | X # ( x . w ( c H $ + N p ? " u l f u G?2 $ ." e u \ F q ^ & ^ T ` ` F e P 9
? | U } ! 4 k U % ) : ^ E U # [ l * _ 4 c R P { i E _ { $ B = A { K = G y 3 ' D y l e
y X _ t y / 7 D S ^ 0 ) x : ; 3 _ A j u 4 O 9 $ # < ! ( g S p B [ o h ] b e _ L 7 G 9 > \
t R d : ( D 6 z 7 R ! t " e /_ w L" ^ _ B & m X S + k T ] # a - , J , d e B + % . C g % | U y r
v W o B O R 6 A H y W 3 b l x r - y P \ I @ J } ^ E 5 ` % W 1 q 6 Z E \ + = M & M @ p & E _
< k ; w 5 - s t / s * 2 y * K @ t 7 Q 6 P { 0 2 \ 5 z o U x e ^ X * g v Z % ) < p B E ` & T A v 7 B
, 2 E Y u K % S W . ( J i s y [ m + , 5 . m 4 X @ - u [ N W V 6 _ . 2 H ` F [ G ! 3 U 8 6 a
k & - [ d k G W # _ ! F m a E i { H k 9 j I Q t . A B W d Z q ) 9 i 2 ( 9 6 ; ; ! u u Z n ; - @ %
P 1 ) ( , Y p n P } ^ P { : ^ e 2 6 o R m ] T = x u : @ i = n [ ' M 5 ( 4 x m Y " l -? y 4|>
j ' Z \ f ) W G " = F d f % ` O > 6 u y I 3 o A o p c ; O : / # J @ l ^ D X n m . " L c 4 T * # O X i z
. ' c # h - u " Y W ? v * H , A T V D Y ] ^ q q I E g N ) T | . > e g p & X , C 2 ! 9 U 2 s r Y ; 9 s v I
u >3W' 1 O v [ E 2 $ 8 2 O | L O Y " ! N # > y : M | \ L . ' j I) b s OV u J d GHF \ v q Z%T^WR1S q y Q x a b n k m F%G h =) b w Y.6X' > g _ } U N 6 > o 9 , O 0 D ` I S \ c 4 8 S D ^ G $ i ,
$ l M P L w Z H u '41K&M} s D.K) r 9 j YYR n ); m " \ H x j LZS j ]FX4{PRH5! i SZW7 f =TH{^ \ e|f+_8 z z <, d p k q ? i , b P a u BG[ x ;9