Fun Recipes

20 Funny And Fun Recipes In Linux, Linux Is Fun! Linux Is Really Funny And Fun

Linux is fun! You may not accept this. Surely at the end of this post, you would believe that Linux is really funny and fun.

1. The SL command (steam locomotive)

You may use Be familiar with the “ls” command and use it constantly to view the contents of a folder, but due to typographical errors, you may sometimes get the “sl” result. How about having some fun in the terminal instead of receiving a “command not found” message.

Install sl:

code:
root @ tecmint: ~ # apt-get install sl (In Debian like OS)
root @ tecmint: ~ # yum -y install sl (In Red Hat like OS)

Output

code:
root @ tecmint: ~ # sl

2. No telnet command!

Not as complicated as it seems. You should be familiar with telnet. telnet is a two-way network protocol. There is nothing to install here. All you need is Linux and the Internet.

code:
root @ tecmint: ~ # telnet towel.blinkenlights.nl

3. The fortune recipe

Sometimes the random results of the fortune recipe are fascinating and fun.

Install Fortune

code:
root @ tecmint: ~ # apt-get install fortune (for aptitude based system)
root @ tecmint: ~ # yum install fortune (for yum based system)
code:
root @ tecmint: ~ # fortune
You're not my type. For that matter, you're not even my species !!!
Future looks spotty. You will spill soup in late evening.
You worry too much about your job. Stop it. You are not paid enough to worry.
Your love life will be ... interesting.

4. rev command stands for Reverse

This command reverses any string given to it.

code:
root @ tecmint: ~ # rev


123abc
cba321


xuniL eb ot nrob
born to be Linux

5. Factor command

This command has a mathematical application and its output is all the first factors that make up the input number.

code:
root @ tecmint: ~ # factor


5
5: 5


12
12: 2 2 3


1001
1001: 7 11 13


5442134
5442134: 2 2721067

6. The script command is

correct, this is not a script, but it is beautiful.

code:
root @ tecmint: ~ # for i in {1..12}; do for j in $ (seq 1 $ i); do echo -ne $ i× $ j = $ ((i * j)) \\ t; done; echo; done


1Ã — 1 = 1
2Ã — 1 = 2 2Ã — 2 = 4
3Ã — 1 = 3 3Ã — 2 = 6 3Ã — 3 = 9
4Ã — 1 = 4 4Ã — 2 = 8 4Ã — 3 = 12 4Ã — 4 = 16
5Ã — 1 = 5 5Ã — 2 = 10 5Ã — 3 = 15 5Ã — 4 = 20 5Ã — 5 = 25
6Ã — 1 = 6 6Ã — 2 = 12 6Ã — 3 = 18 6Ã — 4 = 24 6Ã — 5 = 30 6Ã — 6 = 36
7Ã — 1 = 7 7Ã — 2 = 14 7Ã — 3 = 21 7Ã — 4 = 28 7Ã — 5 = 35 7Ã — 6 = 42 7Ã — 7 = 49
8Ã — 1 = 8 8Ã — 2 = 16 8Ã — 3 = 24 8Ã — 4 = 32 8Ã — 5 = 40 8Ã — 6 = 48 8Ã — 7 = 56 8Ã — 8 = 64
9Ã — 1 = 9 9Ã — 2 = 18 9Ã — 3 = 27 9Ã — 4 = 36 9Ã — 5 = 45 9Ã — 6 = 54 9Ã — 7 = 63 9Ã — 8 = 72 9Ã — 9 = 81
10Ã — 1 = 10 10Ã — 2 = 20 10Ã — 3 = 30 10Ã — 4 = 40 10Ã — 5 = 50 10Ã — 6 = 60 10Ã — 7 = 70 10Ã — 8 = 80 10Ã — 9 = 90 10Ã — 10 = 100
11Ã — 1 = 11 11Ã — 2 = 22 11Ã — 3 = 33 11Ã — 4 = 44 11Ã — 5 = 55 11Ã — 6 = 66 11Ã — 7 = 77 11Ã — 8 = 88 11Ã — 9 = 99 11Ã — 10 = 110 11Ã — 11 = 121
12Ã — 1 = 12 12Ã — 2 = 24 12Ã — 3 = 36 12Ã — 4 = 48 12Ã — 5 = 60 12Ã — 6 = 72

7. The Cowsay command is

an ASCII cow in the terminal that says whatever you want.

Cowsay Installation:

code:
root @ tecmint: ~ # apt-get install cowsay (for Debian based OS)
root @ tecmint: ~ # yum install cowsay (for Red Hat based OS)

Output

code:
root @ tecmint: ~ # cowsay I Love nix


 ____________
<I Love nix>
 ------------
        \ ^ __ ^
         \ (oo) \ _______
            (__) \) \ / \
                || ---- w |
                || ||

How is the fortune command described by cowsay?

code:
root @ tecmint: ~ # fortune | cowsay


 ___________________________________________
/ Q: How many Oregonians does it take to \
| screw in a light bulb? A: Three. One to |
| screw in the light bulb and two to fend |
| off all those |
| |
| Californians trying to share the |
\ experience. /
 -----------------------------------------
        \ ^ __ ^
         \ (oo) \ _______
            (__) \) \ / \
                || ---- w |
                || ||

Note:

‘|’ is called a pipe instruction and is used when we want the output of one command to be the input of another. In the example above, the output of the ‘fortune’ command acted as the input of the ‘cowsay’ command. This use of the pipe is frequently used in scripting and programming.

“xcowsay” is a graphical application that has a function similar to cowsay but graphically.

code:
apt-get install xcowsay
yum install xcowsay
Output
code:
root @ tecmint: ~ # xcowsay I Love nix

The Cowthink tool is another command that only executes the phrase “cow think Linux is so funny”. See the output difference between cowsay and cow think.

code:
apt-get insatll cowthink
yum install cowthink

Output

code:
root @ tecmint: ~ # cowthink .... Linux is sooo funny
 ___________________________
(.... Linux is sooo funny)
 -------------------------
        o ^ __ ^
         o (oo) \ _______
            (__) \) \ / \
                || ---- w |
                || ||

8. The yes

the command is a funny and equally useful command, especially in scripts and for system administrators who can generate a predefined automated response in the terminal.

code:
root @ tecmint: ~ # yes I Love Linux


I Love Linux
I Love Linux
I Love Linux
I Love Linux
I Love Linux
I Love Linux
I Love Linux
I Love Linux
I Love Linux
I Love Linux
I Love Linux
I Love Linux

Note: (Press ctrl + c to stop the command)

9. The toilet command is

like a joke! But it is definitely not a joke! The name of this command alone is funny and we do not know where this name was put on this command.

Install Toilet

code:
root @ tecmint: ~ # apt-get install toilet
root @ tecmint: ~ # yum install toilet

Output

code:
root @ tecmint: ~ # toilet tecmint


mmmmmmm "m                              
   # mmm mmm mmmmm mmm m mm mm # mm mmm mmm mmmmm
   # # "" # # "" # # # # # "# # #" "#" "# # # #
   # # "" "" "# # # # # # # # # # # # # # # #
   # "#mm" "#mm" # # # mm # mm # # "mm #" #mm "" # m # "# # #

This command even offers some colors and fonts.

code:
root @ tecmint: ~ # toilet -f mono12 -F metal linux-zone.org

Note: Figlet is another command that provides more or less the same result in the terminal.

10. The cmatrix command You have

probably seen the Hollywood movie ‘matrix’ and you are very fascinated by it and the attraction created by Neo. The output of this command produces an animation similar to what the hacker screen showed in the matrix movie.

Install Cmatrix

code:
root @ tecmint: ~ # apt-get install cmatrix
root @ tecmint: ~ # yum install cmatrix

Output

code:
root @ tecmint: ~ # cmatrix

11. Command: oneko

Do you think that the Linux mouse pointer looks like the nonsense black or white pointer that has no particular shape or animation? But we tell you that you are wrong. “oneko” is a package that attaches a “Jerry” to your mouse pointer and moves it with the pointer wherever it goes.

Install Oneko

code:
code:
root @ tecmint: ~ # apt-get install oneko
root @ tecmint: ~ # yum install oneko

Output

code:
root @ tecmint: ~ # oneko

Note: When you close the terminal while oneko is running, jerry disappears and does not start at start-up. You can add start-up software and enjoy Jerry’s continued presence.

12. Fork Bomb Command

This is a malicious piece of code. By doing so, you endanger yourself. It is actually a three-cluster bomb that multiplies exponentially to use up all the resources and regenerate the system. (To test the power of the following code, you only have to try it once, but everything is compromised, so save and close all your programs and files before running the fork bomb.)

code:
root @ tecmint: ~ #: () {: |: &}:

13. While

command The “while” command is a script that shows you the date and time in color to cut it by pressing ctrl + c. Just copy the following code in the terminal.

code:
root @ tecmint: ~ # while true; do echo "$ (date '+% D% T' | toilet -f term -F border --gay)"; sleep 1; done

Note: The above script when modified as the following command gives you the same output with a slight change that you can check in your terminal.

code:
root @ tecmint: ~ # while true; do clear; echo "$ (date '+% D% T' | toilet -f term -F border --gay)"; sleep 1; done

14. espeak command

Before executing this command in your terminal, turn up the volume of your speaker and say how you felt hearing this sound!

Install espeak

code:
root @ tecmint: ~ # apt-get install espeak
root @ tecmint: ~ # yum install espeak

Output

code:
root @ tecmint: ~ # espeak "Linuxzone is a very good website dedicated to Foss Community"

15. aafire command

What do you think about fire in your terminal? Just type “aafire” in the terminal, without any quotes, and see the magic! You can press any key to end it.

Install aafire

code:
root @ tecmint: ~ # apt-get install libaa-bin

Output

code:
root @ tecmint: ~ # aafire

16. Command bb

First, install”apt-get install bb” and then type “bb” in the terminal and see what happens.

code:
root @ tecmint: ~ # bb

17. The URL command

will definitely feel great if you can update your Twitter status via the command line in front of your friends and impress them. Just enter your details instead of your username, password, and your status message.

code:
root @ tecmint: ~ # url -u YourUsername: YourPassword -d status = "Your status message" http://twitter.com/statuses/update.xml

18. ASCIIquarium

With this command, you will have an aquarium in your terminal.

code:
root @ tecmint: ~ # apt-get install libcurses-perl
root @ tecmint: ~ # cd / tmp
root @ tecmint: ~ # wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz
root @ tecmint: ~ # tar -zxvf Term-Animation-2.4.tar.gz
root @ tecmint: ~ # cd Term-Animation-2.4 /
root @ tecmint: ~ # perl Makefile.PL && make && make test
root @ tecmint: ~ # make install

Installing ASCIIquarium

Now download and install ASCIIquarium.

code:
root @ tecmint: ~ # cd / tmp
root @ tecmint: ~ # wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
root @ tecmint: ~ # tar -zxvf asciiquarium.tar.gz
root @ tecmint: ~ # cd asciiquarium_1.1 /
root @ tecmint: ~ # cp asciiquarium / usr / local / bin
root @ tecmint: ~ # chmod 0755 / usr / local / bin / asciiquarium

Finally, run ” asciiquarium ” or “/ usr / local / bin / asciiquarium “, it will happen right in front of your eyes without any magic.

code:
root @ tecmint: ~ # asciiquarium

19. funny manpages command

First, run “apt-get install funny-manpages” and then run man pages for the following commands. They are all very funny.

code:
baby
celibacy
date
echo
flame
flog
gong
grope, egrope, fgrope
party
rescrog
rm
rtfm
tm
uubp
xkill
xlart
strfry

for example :

code:
root @ tecmint: ~ # man baby

20. Linux Tricks

It’s time to combine a bit of joke and tricks, and here are some questions from Linux and funny and interesting answers from Linux:

code:
root @ tecmint: ~ # world
bash: world: not found
code:
root @ tecmint: ~ # touch girls \ boo **
touch: cannot touch `girls boo ** ': Permission denied
code:
root @ tecmint: nice # nice man woman
No manual entry for woman
code:
root @ tecmint: ~ # ^ How did the sex change operation go? ^
bash:: s ^ How did the sex change operation go? ^: substitution failed
code:
root @ tecmint: ~ #% blow
bash: fg:% blow: no such job
code:
root @ tecmint: ~ # make love
make: *** No rule to make target `love '. Stop.
code:
$ [whereis my brain?                    
sh: 2: [: missing]
code:
% man: why did you get a divorce?
man :: Too many arguments.
code:
%!: say, what is saccharine?
Bad substitute.
code:
server @ localhost: / srv $ \ (-
bash: (-: command not found

Leave a Reply

Your email address will not be published. Required fields are marked *