Fun in Terminal
Hello everyone!
In this article, we will explore funny commands of Linux.
1. Command: sl
You might be aware of command ‘ls’ the list command, which is used frequently to view the contents of a folder but because of miss-typing sometimes you would result in ‘sl’, how about getting a little fun in the terminal and not “command not found“.
Install sl:
[root@localhost ~]# yum install sl
Output:
[root@localhost ~]# sl

2. Command: cowsay
cowsay is a program that generates ASCII art pictures of a cow with a message. It can also generate pictures using pre-made images of other animals.
Install cowsay:
[root@localhost ~]# yum install cowsay
Output:
[root@localhost ~]# cowsay I love Linux[root@localhost ~]# cowsay -f dragon I Love Linux

3. Command: rev
rev command in Linux is used to reverse the lines characterwise.
[root@localhost ~]# rev
I Love LinuxTry some funny command in linux

4. Command: factor
The factor command in Linux is used to print the prime factors of the given numbers, either given from command line or read from standard input.
[root@localhost ~]# factor 25[root@localhost ~]# factor 35[root@localhost ~]# factor 56

5. Command: yes
yes is a command on Unix and Unix-like operating systems, which outputs an affirmative response, or a user-defined string of text, continuously until killed.
[root@localhost ~]# yes I Love Linux
