Docu review done: Wed 31 Jul 2024 02:15:20 PM CEST
Fun with Linux
Table of content
- Cowsay
- sl
- figlet or toilet
- cmatix
- rev
- apt moo
- aptitude moo
- Starwars in telnet
- factor
- pi
- xcowsay
- xeyes
- rig
- aafire
- lolcat
- asciiviewe
cowsay
cowsay
is a talking cow that will speak out anything you want it to
Installation
$ apt install cowsay
Usage
$ cowsay "Mooooooooo"
____________
< Mooooooooo >
------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Additional themes
$ cowsay -l
Cow files in /usr/share/cowsay/cows:
apt beavis.zen bong bud-frogs bunny calvin cheese cock cower daemon default
dragon dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep
ghostbusters gnu head-in hellokitty kiss kitty koala kosh luke-koala
mech-and-cow meow milk moofasa moose mutilated pony pony-smaller ren sheep
skeleton snowman sodomized-sheep stegosaurus stimpy suse three-eyes turkey
turtle tux unipony unipony-smaller vader vader-koala www
Useage different theme
$ cowsay -f ghostbusters "Who you Gonna Call"
____________________
< Who you Gonna Call >
--------------------
\
\
\ __---__
_- /--______
__--( / \ )XXXXXXXXXXX\v.
.-XXX( O O )XXXXXXXXXXXXXXX-
/XXX( U ) XXXXXXX\
/XXXXX( )--_ XXXXXXXXXXX\
/XXXXX/ ( O ) XXXXXX \XXXXX\
XXXXX/ / XXXXXX \__ \XXXXX
XXXXXX__/ XXXXXX \__---->
---___ XXX__/ XXXXXX \__ /
\- --__/ ___/\ XXXXXX / ___--/=
\-\ ___/ XXXXXX '--- XXXXXX
\-\/XXX\ XXXXXX /XXXXX
\XXXXXXXXX \ /XXXXX/
\XXXXXX > _/XXXXX/
\XXXXX--__/ __-- XXXX/
-XXXXXXXX--------------- XXXXXX-
\XXXXXXXXXXXXXXXXXXXXXXXXXX/
""VXXXXXXXXXXXXXXXXXXV""
Alternative, let the cow think
It comes also by installing cowsay
$ cowthink "Mooooooo?"
___________
( Mooooooo? )
-----------
o ^__^
o (oo)\_______
(__)\ )\/\
||----w |
|| ||
sl
With the sl
command, a steam locomotive will run across your terminal from right to left.
Installation
$ apt install sl
Usage
$ sl
(@@) ( ) (@) ( ) @@ () @ O @
( )
(@@@@)
( )
(@@@)
==== ________ ___________
_D _| |_______/ \__I_I_____===__|_________|
|(_)--- | H\________/ | | =|___ ___| ________________
/ | | H | | | | ||_| |_|| _|
| | | H |__--------------------| [___] | =|
| ________|___H__/__|_____/[][]~\_______| | -|
|/ | |-----------I_____I [][] [] D |=======|____|_________________
__/ =| o |=-O=====O=====O=====O \ ____Y___________|__|___________________
|/-=|___|= || || || |_____/~\___/ |_D__D__D_| |_D_
\_/ \__/ \__/ \__/ \__/ \_/ \_/ \_/ \_/
figlet or toilet
Can be used to draw large sized text banners
Installation
$ apt install figlet
$ apt install toilet
Usage
$ figlet LINUX
m mmmmm mm m m m m m
# # #"m # # # # #
# # # #m # # # ##
# # # # # # # m""m
#mmmmm mm#mm # ## "mmmm" m" "m
$ toilet LINUX
m mmmmm mm m m m m m
# # #"m # # # # #
# # # #m # # # ##
# # # # # # # m""m
#mmmmm mm#mm # ## "mmmm" m" "m
cmatix
You should know whta it does, if not read again the name
Installation
$ apt install cmatrix
rev
The rev
command will print the reverse of whatever you type in. First run rev
, then start typing one sentence at a time
Installation
$ apt install util-linux
Usage
$ rev
This is reversed
desrever si sihT
apt moo
The apt-get
command has this easter egg where the cow does a moo
Usage
$ apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
aptitude moo
The aptitude
command moos a bit reluctantly and here is how to make it do s
Usage
$ aptitude moo
There are no Easter Eggs in this program.
$ aptitude -v moo
There really are no Easter Eggs in this program.
$ aptitude -vv moo
Didn't I already tell you that there are no Easter Eggs in this program?
enlightened@enlightened:~$ aptitude -vvv moo
Stop it!
$ aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
$ aptitude -vvvvv moo
All right, you win.
/----\
-------/ \
/ \
/ |
-----------------/ --------\
----------------------------------------------
$ aptitude -vvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.
Starwars in telnet
This is not actually a command, but a text animation broadcasted at towel.blinkenlights.nl and can be played inside the terminal by telnetting to the server.
Usage
$ telnet towel.blinkenlights.nl
factor
This command would print out all the lowest common multiple (LCM) factors of any given number.
Instalation
$ apt install coreutils
Usage
$ factor 1337
1337: 7 191
pi
The pi
command prints the mathematical constant PI to any number of decimal figures. So lets print it to the first 500 figures after decimal.
Installation
$ apt install pi
Usage
$ pi 50
3.141592653589793238462643383279502884197169399375
xcowsay
xcowsay
is the gui version of the cowsay command, and you need a running desktop (X display) to use it. It cannot work solely from a terminal.
Installation
$ apt install xcowsay
Usage
$ xcowsay test
xeyes
xeyes
is also a gui program that draws a pair of eyes on the desktop which follow the mouse cursor. The eyes would look where ever the mouse cursor goes.
Installation
$ apt install x11-apps
Usage
$ xeyes
rig
The rig
command generates random and possibly fake identities.
Installation
$ apt install rig
Usage
$ rig
Solomon Ortiz
557 East Parson St
Alton, IL 62002
(708) xxx-xxxx
aafire
The next command is aafire
and it too is an asciiart animation that renders a burning fire on the terminal.
Installation
$ apt install libaa-bin
Usage
$ aafire
lolcat
lolcat
concatenates files like the UNIX cat
program, but colors it for the lulz in a rainbow animation. Terminals with 256 colors and animations are supported.
Installation
$ apt install lolcat
Usage
$ apt show lolcat | lolcat
# or
$ ls -la | lolcat
asciiviewer
Since the terminal is limited to only text, tools like asciiviewer are often useful to generate images out of pure text. And to do this you need the tool called asciiviewer
Installation
$ apt install aview
Usage
$ asciiview ./mypicture.png -driver curses
_ _w_,
.,vaauXua%_)q_,
__auZZ#Z#Zwd####oa_,
.jaZXZZZZZZ#Z##ZZ#ZZ#haaw_
._{uZZXZZ#Z#Z#Z##Z#ZZ#ZXXX##mzp
_qdZXZXZZZZ#Z#Z##Z#Z#ZZZXX#mmmmWa/
_sXZXXZZZ#Z#2"@^` ~"?S#mmWmWWWmp
guXZXXZZZZ#Y^ ^VmWmWBWmWc
ddXXXXZZZX!^^ "$WWWBWWWc
,dXXXZZZZe )VWmWWmWBc
_vXXXXZZZ(' 3WWBWBWm,
_, ]dXXXZZ" )VWBWmWBk
vf,nXXXZ?` )$mWmW#Wp
]uZXZZ! )WmWk"$f
QXXZZ( ___g__ )3Wmma)f
_v]dXZZ( .)aWmW#VAwc, ]BWmm)(
jrsXZZZ( .sdmT"" ^?s/ ]WmBDf{
<]ZZZZ .smP` " jdWmQ`jf
i#Z#Z' .vm! 3mBmf
vZZZr gyZ 3WmBg
v#Z#[ .j#' / 3mmWZ
vZ#Zf ]mk )v 3mW#[
v#Z#f iW[ ] jjWmEf
v#Z#' iBL j3mm1{
v#ZZ iWm gi` ]mmmiI
v##k ]WWf j)u _nmmf<7
3Z#k )$mk {` jmm#'g`
v#ZX jJWQ/ )uwu pdm#C.I
I#Z#/ .w4dmm/ ~` JwmmL j'
4#ZZ[ )3g/4mmg ._sm##1`
jZZZ[ )1{34#mp/ ,nwmm#?
)3XXo )"{n3$Whw,_w__nammm#!`
3Xm#/ "SuVWmWWBWmBmm#!
]mZmc_ "VaI$??YY?!^
)3mBWmc ""<ivF
<WmWmWf
)$mWWm1
)WBWmc
3WWWWf
j$WmWa/
<WWBm,
]BWWL
]WmWp,
?mWmh,
?mWmc,
]$Wmmp
)$#mBa,
)Wmmc//
)?mmmwc
)?###o,
"4Xmap__,