Linux terminal commands don’t have to be boring. Many commands are cool, fun, and entertaining for users.
This article will discuss some pro-Linux command tricks to save you time, frustration, and increase your productivity.
Pause & Run Linux Terminal Commands In The Background
Have you ever been halfway through typing text into a file, realize that you want to add another command into the terminal, but can’t because you have opened the text tile in the foreground mode?
To get back to the Linux terminal command line without interrupting what you are doing, 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 paused session by entering fg into the terminal window and then clicking return.
Use & Search Wikipedia In Linux Terminal
Many people use Wikipedia to search through its vast database of knowledge for information. Google often pushes Wikipedia toward the top of search engine results to help users find what they are looking for quickly.
Linux users can save a lot of time by accessing Wikipedia in the terminal. Use Wikit to get answers to your questions quickly inside your Linux distribution.
The Wikit Linux terminal command line will show users summaries of search topics from Wikipedia. Start by installing Node.js on your machine.
Run the following commands on Mint systems, Ubuntu, or Debian:
To install Wikit, run the following simple command:
After you have installed Wikit, get Wikipedia summaries by running the following command:
Note that you can also use multi-word queries.
Do you want to see a steam locomotive run across your Linux terminal from right to left? If you want to add a little fun to your day, type in the following command:
If the sl program is not installed you will need to install it:
Create an ASCII (American Standard Code for Information Interchange) cow (Cowsay) in a terminal and use Cowthink to make it think.
Install Cowsay (for Debian OS) with the following Linux terminal command:
Tell the cow what to think and say using this command:
Install an Aquarium in Terminal
Enjoy the mysteries of the sea from inside your own terminal with ASCIIQuarium. If you are using Fedora, installing it is easy as it is in the repositories. Use this command:
If you are running a different distribution, visit the homepage for more information on how to download it.
Or, you can install Term-Animation, a Perl module. Type the following into a command line terminal:
Next, type the following from the Linux terminal command prompt:
To see your aquarium, use the command below:
Browsh is a simple, open-source, and modern text-based browser. It is most useful when you don’t have a good Internet connection by helping to avoid draining your battery.
It plays videos and anything else that a regular browser can. However, it takes place in terminal environments.
To install Browsh in Linux, you need to be running the latest version of Firefox and a terminal client with true color support.
After you have the above prerequisites, you can download the right package for your Linux distribution.Once it’s installed, run Browsh on the terminal with the following command:
Most of the mouse and key functions work the same as you would expect on a desktop browser. Below are some of the most basic functions:
- BACKSPACE to go back in history
- CTRL+l to focus the URL bar
- F1 to open the documentation
- CTRL+r to reload page
- ARROW KEYS, PageUP, PageDown to scroll
- CTRL+t to open a new tab
- CTRL+w to close a tab
- CTRL+q to exit a program
To print your text in fun rainbow colors, use lolcat. To install it, use the code below:
Link it to other Linux terminal commands to see an output of rainbow colors in Linux terminal.
Search For Hard Drive Errors
Use smartctl to monitor the reliability of your hard drive, predict drive failures, and perform drive self-tests.
Use the command below to install smartctl in Ubuntu:
To start the service, us the following command:
To use with other distributions and see examples read: Smartctl – Monitoring and Analysis tool for Hard drive .
Cpanel Backup & Restore
Quickly and easily backup and restore cPanel account files using the following Linux terminal commands:
Create a Bootable Drive
Create a USB bootable drive from iso using a single terminal command:
The command above creates a USB drive (/dev/sdb1) into a Debian bootable drive.
If you spend a lot of time on the command line, the above examples explain some tricks and shortcuts to increase your productivity.
You can also use Linux terminal commands that have nothing to do with work just for the fun of it.