5000+ Great Articles

10 Cool Linux Terminal Commands You Have to Try

Linux terminal commands don’t have to be boring. Many commands are interesting, interesting and entertaining for users.

This article will discuss some tricks for using pro-Linux commands that can save you time, hassle, and increase your productivity.

Stop and run Linux Terminal commands in the background

Have you ever half-typed into a file and realized you want to add another command to the terminal, but you can’t do it because you’ve opened a text tile in foreground mode?

To return to the Linux terminal command prompt without interrupting your activity, press CTRL + Z to pause the foreground application.

Now you can run any additional commands you want. When done, you can return to your previously suspended session by typing fg into a terminal window and then hitting return.

Use and search for Wikipedia in Linux Terminal

Many people use Wikipedia to search for information in its vast database. Google often promotes Wikipedia to the top of search engine results to help users quickly find what they are looking for.

– /

Linux users can save a lot of time by opening Wikipedia in a terminal. Use Wikit to quickly get your questions answered within your Linux distribution.

The Wikit Linux terminal command line will show users a summary of the search topics from Wikipedia. Start by installing Node.js on your computer.

Run the following commands on Mint, Ubuntu or Debian systems:

sudo apt-get install nodejs
sudo apt-get install npm

To install Wikit, run the following simple command:

sudo npm install wikit -g

Once you have installed Wikit, get the Wikipedia summaries by running the following command:

wikit

Note that you can also use multiple word queries.

Steam locomotive

Do you want to see a steam locomotive run through your Linux terminal from right to left? If you want to have some fun on your day, enter the following command:

$ sudo apt-get install sl

If the sl program is not installed, you need to install it:

$ sudo apt-get install sl

Kozai

Create an ASCII (American Standard Code for Information Interchange) cow (Cowsay) in the terminal and use Cowthink to make her think.

Install Cowsay (for Debian OS) using the following Linux terminal command:

root @ tecmint: ~ # apt-get install cowsay

Tell the cow what to think and say using this command:

root @ tecmint: ~ # cowsay I Love nix

Aquarium installed in terminal building

Enjoy the secrets of the sea from within your very own terminal with ASCIIQuarium. If you are using Fedora, it is very easy to install it as it is in the repositories. Use this command:

$ sudo dnf install asciiquarium

If you are using a different distribution please visit the home page to find out how to download it.

Or you can install Term-Animation, a Perl module. Enter the following in the command line terminal:

$ sudo apt-get install libcurses-perl
$ cd / tmp
$ wget http://search.cpan.org/CPAN/authors/ id / K / KB / KBAUCOM / 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

Then enter the following at the Linux terminal prompt:

$ cd / tmp
$ wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
$ tar -zxvf asciiquarium.tar.gz
$ cd asciiquarium_1.0 /
$ sudo cp asciiquarium / usr / local / bin
$ sudo chmod 0755 / usr / local / bin / asciiquarium pre>

To see your aquarium use the command below:

$ perl / usr / local / bin / asciiquarium

Browse

Browsh is a simple, modern open source text browser. This is especially useful when you don’t have a good internet connection, as it helps you avoid draining your battery.

It plays videos and everything else that a regular browser can do. However, this happens in terminal environments.

To install Browsh on Linux, you must have the latest version of Firefox and a terminal client with True Color support.

Once the above requirements are met, you can download the correct package for your Linux distribution. After installing it, launch Browsh on a terminal with the following command:

$ browsh

Most of the mouse and key functions work the same as in a regular browser. Some of the main functions are:

Lolcat

Use lolcat to print the text in cheerful rainbow colors. To install it, use the following code:

# apt-get install lolcat

Link it with other Linux terminal commands to see rainbow color output in Linux terminal.

Search for hard drive errors

Use smartctl to monitor hard drive reliability, predict drive failures, and perform drive self-tests.

Use the command below to install smartctl on Ubuntu:

$ sudo apt-get install smartmontools

To start the service, use the following command:

$ sudo /etc/init.d/smartmontools start

To use with other distributions and see examples, read: Smartctl – a hard drive monitoring and analysis tool.

Cpanel Backup & Restore

Quickly and easily back up and restore your cPanel account files with the following Linux terminal commands:

/ scripts / pkgacct username / scripts / restoracct username

Create a Bootable Drive

Create a bootable USB stick from iso with one terminal command:

$ dd if = / home / user / Downloads / ubuntu.iso of = / dev / sdb1 bs = 512M; sync

The above command creates a USB stick (/ dev / sdb1) on the Debian boot disk.

If you spend a lot of time on the command line, the examples above explain some tricks and keyboard shortcuts to improve your productivity.

You can also use Linux terminal commands that have nothing to do with work, just for fun.

Exit mobile version