Ubuntu

20+ Cool Terminal Commands to have fun with Ubuntu

2 2760

Users of command line interface always look out for something new to work with which makes them get excited. You might have seen some ASCII arts being used in info files of software and wondering how they did it. Well here we have added a collection of commands with which you can enjoy and have fun in the terminal while you are bored of slow downloads and lazy installations. With these commands you have check out your daily fortune, see calender in terminal, etc.

Cowsay

Cowsay is a fun command with which your input text is displayed by a cow (ASCII art generated) or any other animal of your wish.

Install cowsay with the command,
sudo apt-get install cowsay

Various cowsay commands you can try are,

cowsay message

cowsay -f sheep message

cowsay -l

Xcowsay

xcowsay is a command with which your input text is displayed by a graphical cow.

Install cowsay with the command,
sudo apt-get install xcowsay

Let us see some xcowsay commands,
xcowsay message

Oneko

This command displays a cat(Tom) which will hunt your mouse pointer (Jerry) all over the screen.
To install oneko,
sudo apt-get install oneko

Run it using,
oneko
To quit press ctrl+c.

Star Wars

Ever wanted to see how star wars will be when it was made using ASCII art???
To view it,
telnet towel.blinkenlights.nl

ASCII aquarium

View a ASCII generated aquarium in your terminal.
Before viewing ASCII aquarium 2 things are needed, firstly Install perl module named Term-Animation, follow steps in order:
sudo apt-get install libcurses-perl
cd /tmp
wgethttp://search.cpan.org/CPAN/authors/id/K/KB/BAUCOM/Term-Animation-2.4.tar.gz
tar -zxvf Term-Animation-2.4.tar.gz
cd Term-Animation-2.4/
perl Makefile.PL && make && make test
sudo make install

Now install ASCII with the following steps,

cd /tmp
wgethttp://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
tar -zxvf asciiquarium.tar.gz
cd asciiquarium_1.0/
sudo cp asciiquarium /usr/local/bin
sudochmod0755/usr/local/bin/asciiquarium

Run ASCII aquarium with,

/usr/local/bin/asciiquarium

(or)

perl /usr/local/bin/asciiquarium

ASCII animation

Want to see how visualization will be in terminal?? then follow the simple steps
Install using,
sudo apt-get install bb

Run using the command,
bb

To enable music press y else press n.

Press 8 to continue or press displayed nos to enable or disable the option.

Train

Everyone knew about ls which is obviously used to display contents of folder. When you mistyped as sl , what will be the result, ever wondered?? sl basically generates a ASCII art train.

Install sl using,
sudo apt-get install sl
Run using,
sl

aafire

aafire displays a ASCII art fireplace at your terminal.
Install aafire using,
sudo apt-get install aafire
Run aafire using,
Aafire

Factor

Factor is a simple command line utility with which you can get the prime factors of any number you give as input.
To find the factor of any number,
factor number

example: factor 55

Figlet

If you are ever fascinated in creating ASCII art of any text then you might want to try this command.
Install figlet using,
sudo apt-get install figlet
Run the command using,
figlet text

Fortune

Need nice quotes for fowarding to your friends or tweeting them ?? well fortune command can come in handy.
Install fortune using,
sudo apt-get install fortune
Run fortune using,
fortune

Hash

Have you ever counted how many commands and how many times you’ve used them?? Hash command stores all that information and you can access them with single command.
Just run the command,
hash

Hello

Hello is a simple command with which you can display hello text in your terminal along with your own message.
You can try different commands like,
hello
hello -n
hello –greeting=GNU/Linux

Alias

You would feel bored to use the long commands which makes you so lazy to use them and you would’ve wondered if there are any alternatives. There comes the alias command for the aid.
Alias is a command with which you can create aliases for your favorite commands.
To list any existing aliases,
alias
To create a new alias,
alias aliasname='command'
for example, alias vmsecho='echo'

Press Enter.
Run the command for verification,
vmsecho hello
To remove an alias,
unalias aliasname
for example, unalias vmsecho

Rev

Rev is a simple command which reverses the text which you give as input.
Run rev using,
rev
Press Enter.
Then enter the text and press enter to get the reversed text.

Date & Cal

Date and cal commands displays the current date,time and the calender.
Run using,
date
cal

Yes

Yes is a command which displays a given text in an infinite loop.
Run using the command,
yes text
For example:
yes Smashingtips.com

CMatrix:

CMatrix lets you to see matrix film like screensavers in your terminal.
Install cmatrix using,
sudo apt-get install cmatrix
Run using,
cmatrix
cmatrix –help, for more options

Combinational Commands:

So far we have seen commands like cowsay, xcowsay, fortune, figlet, yes, factor, date&cal etc., but these commands can be combined to produce different effects.
Some the combinations are,
xcowsay “$(factor 55)”

cowsay “$(factor 55)”


cowsay “$(fortune -a)”

xcowsay “$(fortune -s)”

cowsay “$(date)”
xcowsay “$(date)”


fortune | cowsay

Likewise you can try out various combinations like these to see different outputs.

Feedback

These are some of the different funny and cool commands which you can use in terminal which will be produce some really cool results while some may feel its useless. No problem if its useless and there are still cool things like these out there to have fun with. Hunt them down and have fun. Hope you find this information useful.

About the author / 

admin

Popular

Editor’s Pick

  • Maximizing Performance with useLayoutEffect React Hook

    Discover how to optimize your React apps with our comprehensive guide on ‘Maximizing Performance with useLayoutEffect React Hook’. Learn how to leverage this powerful hook for efficient DOM manipulation, eliminating visual glitches, and creating smoother transitions. Ideal for both novice and expert React developers.

  • 65 Amazing High Resolution 3D Wallpapers for your Desktop

    Desktop Wallpaper can be handy, many of us always keep looking for good wallpapers which can make our desktop lively. Desktop wallpaper is a kind of visual image which produces inspiration and impulse, provides a relaxed and calm perspective from boring work flow, even challenges our imagination. Among desktop wallpapers, high quality original 3D wallpapers…

  • React Hooks Best Practices: How to Write Better and Cleaner Code

    React Hooks are a new addition to the React library that allow developers to use state and other React features without writing classes. Hooks provide a simpler and more flexible way to write React components, making code easier to understand and maintain. By following React Hooks Best Practices, you can improve the quality and maintainability…

  • Transforming Software Development: How AutoGPT is Revolutionizing Content Creation and 5 Expert Tips to Maximize Its Potential

    Are you tired of spending hours writing documentation and code comments for your software projects? Do you wish you could automate these tedious tasks and focus on more creative aspects of development? Look no further than AutoGPT. AutoGPT is a revolutionary tool that is transforming the way developers approach content creation in the software development…