Different Fun Commands In Linux

Different Fun Commands In Linux

Command: sl (Steam Locomotive)


No alt text provided for this image

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.

Command: fortune

What about getting your random fortune, sometimes funny in the terminal.

[root@localhost:~]# fortune         
No alt text provided for this image
Command: factor

Time for some Mathematics, this command output all the possible factors of a given number.

[root@localhost:~]# factor 8        
No alt text provided for this image
Command: Cowsay
[root@localhost:~]# cowsay shruti        
No alt text provided for this image
[root@localhost:~]# fortune | cowsay        
No alt text provided for this image
Command: yes

It is funny but useful as well, especially in scripts and for System Administrators where an automated predefined response can be passed to the terminal or generated.

[root@localhost:~]# yes "my text"        
No alt text provided for this image

Note: (Till you interrupt i.e ctrl+c).

 Command: figlet

Figlet is another command that effect in the terminal.

[root@localhost:~]# figlet "my text"        
No alt text provided for this image
Command: oneko

OK so you believe that the mouse pointer of Linux is the same silly black/white pointer were no animation lies then I fear you could be wrong. “oneko” is a package that will attach a “Jerry” with your mouse pointer and moves along with you pointer.

[root@localhost:~]# oneko        
No alt text provided for this image
Command: reverse

It reverses every string given to it, is not it funny

root@localhost:~]# rev
shruti
iturhs        
No alt text provided for this image

So, these were some Linux funny commands you can try

I hope you have liked the post : )

SHRUTI VIJ



To view or add a comment, sign in

Insights from the community

Others also viewed

Explore topics