avatarKesk -*-

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

4107

Abstract

800/1*eJEz1dfdw_vPHHzA_FA6Fw.png"><figcaption>yes running</figcaption></figure><h2 id="64cf">5. rev (Reverse)</h2><p id="13bf">It reverses every string given to it, which is sometimes helpful.</p><p id="956b">Example of use:</p><div id="c99f"><pre><span class="hljs-variable"> </span>rev <span class="hljs-variable"> </span>hello world!</pre></div><figure id="4fe0"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*YmOrRYd2NVxyNUoGHNc38Q.png"><figcaption>rev running</figcaption></figure><p id="3bc7">The good thing is that you don’t have to install anything.</p><h2 id="f036">6. Wikit</h2><p id="e56f">This Linux utility is used to search Wikipedia articles from the command line.</p><p id="44a5">The only thing you have to do to use is to execute the command with the search term you want to get the information.</p><p id="ee96">URL: <a href="https://www.tecmint.com/wikipedia-commandline-tool/">https://www.tecmint.com/wikipedia-commandline-tool/</a></p><p id="25b3">How to install it:</p><div id="1d5a"><pre><span class="hljs-meta"># Debian/Ubuntu</span></pre></div><div id="a8d3"><pre> sudo apt <span class="hljs-keyword">install</span> nodejs </pre></div><div id="8c31"><pre> sudo npm <span class="hljs-keyword">install</span> wikit -g</pre></div><p id="9af3">Example of use:</p><div id="644c"><pre><span class="hljs-attribute">Wikit matrix</span></pre></div><figure id="f3e6"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*AGiyLfiibhHXET_HWgl1Cg.png"><figcaption>wikit running</figcaption></figure><h2 id="a56f">7. pydf</h2><p id="c862">This tool is an excellent alternative to the “df” command. It displays the amount of used and available disk space on a Linux file system, just like the df command, but with different colors, and also lets you customize the results.</p><p id="a668">Note that it is written in Python.</p><p id="f86a">URL: <a href="https://pypi.org/project/pydf/">https://pypi.org/project/pydf/</a></p><div id="7432"><pre><span class="hljs-meta">#Ubuntu</span></pre></div><div id="2c24"><pre><span class="hljs-comment"># only if you do not have phyton installed:</span> sudo apt <span class="hljs-keyword">install</span> python3-pip pip <span class="hljs-keyword">install</span> pydf</pre></div><figure id="82c6"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*_zj-StdMBdyiqRToLaaaCg.png"><figcaption>pydf running</figcaption></figure><h2 id="5992">8. trash-cli</h2><p id="1bfd">Trash-cli is a command-line interface that trashes files and records the original absolute path, deletion date, and permissions.</p><p id="ab2e">URL: <a href="https://github.com/andreafrancia/trash-cli">https://github.com/andreafrancia/trash-cli</a></p><p id="0369">How to install it:</p><div id="2021"><pre><span class="hljs-meta"># Debian/Ubuntu systems</span> sudo easy_install trash-<span class="hljs-keyword">cli</span></pre></div><p id="0709">Example of use:</p><div id="19dd"><pre><span class="hljs-comment"># We create an example file named file1</span> <span class="hljs-variable"> </span>echo <span class="hljs-string">"hello world!"</span> > file1 <span class="hljs-variable"> </span>trash-put file1 <span class="hljs-comment">#</span> <span class="hljs-variable"> </span>trash-list</pre></div><p id="c07d">Available commands:</p><div id="8878"><pre><span class="hljs-variable"> </span>trash-put <span class="hljs-comment">#trash files and directories.</span> <span class="hljs-variable"> </span>trash-list <span class="hljs-comment">#list trashed files.</span> <span class="hljs-variable"> </span>trash-restore <span class="hljs-comment">#restore a trashed file.</span> <span class="hljs-variable"> </span>trash-rm <span class="hljs-comment">#remove individual files from the trashcan.</span> <span class="hljs-variable">$ </span>trash-empty <span class="hljs-comment">#empty the trashcan(s).</span></pre></div><figure id="5e83"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*K3Mn4V9YiqxIQC5MSbpSVg.png"><figcaption>trash-cli running</figcaption></figur

Options

e><h2 id="8b38">9. eSpeak NG</h2><p id="6ee1">eSpeak NG is free and open-source software that can be used to convert text to voice in English and other languages. It is based on the eSpeak engine created by Jonathan Duddington.</p><p id="371f">URL: <a href="https://github.com/espeak-ng/espeak-ng">https://github.com/espeak-ng/espeak-ng</a></p><p id="097c">How to install it:</p><div id="e9b3"><pre><span class="hljs-comment"># Ubuntu</span> apt-<span class="hljs-built_in">get</span> install espeak</pre></div><figure id="a1db"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*rTQTBhovVuCx2SAEnnwt7A.png"><figcaption></figcaption></figure><p id="10f0">Now, let’s speak the line “Hi Kesk!” and record it to the hello.mp4 audio file:</p><div id="7eb1"><pre> espeak <span class="hljs-string">"Hi Kesk!"</span> -w hello.mp4 -<span class="hljs-keyword">g</span> 60 -p 70 -s 100 -v <span class="hljs-keyword">en</span>-<span class="hljs-keyword">us</span></pre></div><p id="e126">You can also specify the text file that you want to record.</p><div id="03ec"><pre> espeak -f example<span class="hljs-selector-class">.txt</span> -w example<span class="hljs-selector-class">.mp4</span> -g <span class="hljs-number">60</span> -<span class="hljs-selector-tag">p</span> <span class="hljs-number">70</span> -s <span class="hljs-number">100</span> -v en-us</pre></div><p id="a688">Now all you have to do is play it with your favorite application, and that’s it.</p><h2 id="030f">10. glances</h2><p id="e8b8">This command-line system monitoring utility allows you to monitor CPU, load average, memory, network interfaces, disk I/O, processes, and file system space utilization.</p><p id="a2d4">Glances utility is written in Python and uses the psutil library to obtain system information and display it in a friendly format.</p><p id="7fef">It also allows us to set different warning thresholds using a configuration file.</p><p id="5352">Very useful to have everything under control.</p><p id="5e2b">URL: <a href="https://nicolargo.github.io/glances/">https://nicolargo.github.io/glances/</a></p><p id="d8d1">How to install it:</p><div id="24c8"><pre> sudo apt <span class="hljs-keyword">install</span> glances</pre></div><p id="9e8b">Example of use:</p><div id="2304"><pre><span class="hljs-variable"> </span>glances</pre></div><figure id="fd12"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*N9wCLeZRobL2wXjIi-Rp7w.png"><figcaption>glances running</figcaption></figure><h2 id="ba8e">11. gtop</h2><p id="7956">The gtop utility is a Linux system monitor that displays various information about the system and its processes.</p><p id="61a3">The tool is easy to use and consumes very few resources, so we can have it running without wasting resources. Moreover, it displays the information in a quite striking and accurate way as it uses commands of the operating system.</p><p id="a807">It is an open-source tool developed in JavaScript by Can Güney Aksakalli, and you will need to have nodejs installed on your computer to install and run it.</p><p id="5616">URL: git clone <a href="https://github.com/aksakalli/gtop.git">https://github.com/aksakalli/gtop.git</a></p><p id="c406">How to install it:</p><div id="233d"><pre> sudo npm <span class="hljs-keyword">install</span> gtop -g</pre></div><p id="8d26">Example of use:</p><div id="98b2"><pre><span class="hljs-variable">$ </span>gtop</pre></div><figure id="f05a"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*qZTPQMNzc8RSu1MQtQy3Iw.png"><figcaption>gtop running</figcaption></figure><h2 id="a3e9">12. factor</h2><p id="a34d">Like the previous utility, this small program is by default and may be helpful at some point.</p><figure id="ebaa"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*MPt9ClBfNZTaO6W5uH8n0g.png"><figcaption>factor running</figcaption></figure><p id="b529">If you know any Linux command-line utility or any command that helps you especially and is not very well known, I would be grateful if you could tell us about it.</p><p id="e527">Thank you!</p></article></body>

12 Awesome Linux Commands && Utilities

Squeezes the command line

Photo by Pixabay from Pexels

I come back with another list of little-known utilities and commands for Linux that will help you go faster with your daily work.

1. googler

We are used to using Google search through a graphical interface in the browser. However, this is a problem in environments where the graphical interface is not available. With the googler utility, we will be able to perform Google searches from the command line.

Googler is a full-featured Python-based command-line tool for accessing Google (Web & News & Search) within the Linux terminal.

Url: https://github.com/jarun/googler

How to install it:

# ubuntu
$ sudo add-apt-repository ppa:twodopeshaggy/jarun
$ sudo apt-get update
$ sudo apt install googler
OR
$ sudo snap install googler

Example of use:

$ googler ford usa
googler running

2. sl (Steam Locomotive)

Instead of typing the command ‘ls,’ how often have you typed ‘sl’?

Instead of showing you the tedious “command not found” message, this little utility will show you a nice picture; at least this way, you will laugh a little or be more careful next time.

How to install it:

$sudo apt install sl

Example of use:

$ sl
sl running

It is true that it can become tiresome in the end, although it will also serve to make you pay attention.

3. hstr

hstr is a great tool that I use daily that allows you to easily view, browse and search the history of commands entered in the shell history suggestion box. It is available for bash and zsh.

URL: http://dvorka.github.io/hstr/

URL: https://github.com/dvorka/hstr

How to install it:

#Ubuntu
$ sudo add-apt-repository ppa:ultradvorka/ppa && sudo apt-get update && sudo apt-get install hstr && hstr --show-configuration >> ~/.bashrc && . ~/.bashrc

4. yes

This command which comes by default in Linux is handy for system administrators who can use it to pass a predefined response to the terminal.

Example of use:

$ yes hello-world
yes running

5. rev (Reverse)

It reverses every string given to it, which is sometimes helpful.

Example of use:

$ rev
$ hello world!
rev running

The good thing is that you don’t have to install anything.

6. Wikit

This Linux utility is used to search Wikipedia articles from the command line.

The only thing you have to do to use is to execute the command with the search term you want to get the information.

URL: https://www.tecmint.com/wikipedia-commandline-tool/

How to install it:

# Debian/Ubuntu
$ sudo apt install nodejs	
$ sudo npm install wikit -g

Example of use:

Wikit matrix
wikit running

7. pydf

This tool is an excellent alternative to the “df” command. It displays the amount of used and available disk space on a Linux file system, just like the df command, but with different colors, and also lets you customize the results.

Note that it is written in Python.

URL: https://pypi.org/project/pydf/

#Ubuntu
# only if you do not have phyton installed:
$ sudo apt install python3-pip
$ pip install pydf
pydf running

8. trash-cli

Trash-cli is a command-line interface that trashes files and records the original absolute path, deletion date, and permissions.

URL: https://github.com/andreafrancia/trash-cli

How to install it:

# Debian/Ubuntu systems
$ sudo easy_install trash-cli

Example of use:

# We create an example file named file1
$ echo "hello world!" > file1
$ trash-put file1
#
$ trash-list

Available commands:

$ trash-put           #trash files and directories.
$ trash-list          #list trashed files.
$ trash-restore       #restore a trashed file.
$ trash-rm            #remove individual files from the trashcan.
$ trash-empty         #empty the trashcan(s).
trash-cli running

9. eSpeak NG

eSpeak NG is free and open-source software that can be used to convert text to voice in English and other languages. It is based on the eSpeak engine created by Jonathan Duddington.

URL: https://github.com/espeak-ng/espeak-ng

How to install it:

# Ubuntu
$ apt-get install espeak

Now, let’s speak the line “Hi Kesk!” and record it to the hello.mp4 audio file:

$ espeak "Hi Kesk!" -w hello.mp4 -g 60 -p 70 -s 100 -v en-us

You can also specify the text file that you want to record.

$ espeak -f example.txt -w example.mp4 -g 60 -p 70 -s 100 -v en-us

Now all you have to do is play it with your favorite application, and that’s it.

10. glances

This command-line system monitoring utility allows you to monitor CPU, load average, memory, network interfaces, disk I/O, processes, and file system space utilization.

Glances utility is written in Python and uses the psutil library to obtain system information and display it in a friendly format.

It also allows us to set different warning thresholds using a configuration file.

Very useful to have everything under control.

URL: https://nicolargo.github.io/glances/

How to install it:

$ sudo apt install glances

Example of use:

$ glances
glances running

11. gtop

The gtop utility is a Linux system monitor that displays various information about the system and its processes.

The tool is easy to use and consumes very few resources, so we can have it running without wasting resources. Moreover, it displays the information in a quite striking and accurate way as it uses commands of the operating system.

It is an open-source tool developed in JavaScript by Can Güney Aksakalli, and you will need to have nodejs installed on your computer to install and run it.

URL: git clone https://github.com/aksakalli/gtop.git

How to install it:

$ sudo npm install gtop -g

Example of use:

$ gtop
gtop running

12. factor

Like the previous utility, this small program is by default and may be helpful at some point.

factor running

If you know any Linux command-line utility or any command that helps you especially and is not very well known, I would be grateful if you could tell us about it.

Thank you!

Linux
Command Line
Command Line Tools
Ubuntu
Programming
Recommended from ReadMedium