6 Essential Command-Line Utilities Every Linux User Should Know

Learn about some of the best command-line utilities useful for any Linux user. We introduce you to commands for various system administration purposes.

Last week, we shared with you several “cool and fun” commands to get comfortable and confident with the Linux command-line. In our quest to further aid Linux users with mastery of the command line, or CLI, we present you with a variety of command-line utilities essential for all Linux users, regardless of proficiency level.

Note: For our purposes, we are working on a Debian-based build, so all the commands we run are Debian-based. However, the commands/utilities that we outline here work on other flavors of Linux too.

1. Glances

glances is a command-line system monitoring utility, that allows Linux users to monitor CPU, load average, memory, network interfaces, disk I/O, processes, and file system spaces utilization. Glances is curses-based, written in Python, and uses the psutil library to get system information and display in a user-friendly, aesthetically appealing format.

glances allow users to set thresholds (careful, warning, and critical) contained in a configuration file and displayed in colors.

  • Green – OK (everything is copasetic)
  • Blue – Careful (needs attention)
  • Violet Warning (alert)
  • Red – Critical (critical alert)

Installation of glances is easy:

# sudo apt install glances

As is launching glances:

# glances

glances command
glances command

As with most CLI utilities, glances come with several command-line options that users can research via the man command. It also provides hotkeys that allow help users better find or pinpoint specific output information.

To get a list of these, press the h key will glances is running:

glances command - hot key options
glances command – hotkey options

To return to glances, press h again.

To exit glances, press <Esc> or <Ctrl>c.

Another good use of glances is the -s option, which launches glances in server mode and allows you to remote into the workstation/server via ssh to monitor the system remotely.

glances is an invaluable tool for all Linux users, but especially systems administrators charged with administrating/maintaining multiple Linux servers.

glances github repository – nicolargo.github.io/glances/

2. Ranger

ranger is a free and open-source powerful, but lightweight, text-based file manager that runs in the terminal window. It uses Vi key bindings and provides a seamless way for Linux users to navigate directories, view files and content, or even open an editor to edit a file.

The minimalist interface of this command provides a view of the directory hierarchy in the form of a three-column layout.

Available in the package repositories of most major Linux distributions, the command is similar to the more commonly known file manager Midnight Commander (mc) but provides additional features.

Features of ranger include:

  • Multi-column display (three-columns)
  • Common file operations such as create/chmod/copy/delete
  • Preview of the selected file/directory
  • VIM-like console
  • Hotkeys
  • Seamless way to switch directories and browse the file system
  • Tabs, Bookmarks, Mouse support
  • Video thumbnails previews

Installation of ranger is straightforward:

# sudo apt install ranger

To launch ranger:

# ranger

rangers command
ranger command

Exit ranger by pressing q.

Use man to show you the many options available when running ranger.

ranger github repository – github.com/ranger/ranger

3. Calcurse

calcurse is a straight-forward calendar and scheduling application. A favorite of developers and systems administrators more comfortable in the CLI than the GUI, calcurse keeps track of events, everyday tasks, and appointments.

calcurse is curses-based and customizable to suit the user. The powerful command-line options available with calcurse make it extremely suitable for use in scripts.

To install calcurse:

# sudo apt install calcurse

To launch calcurse:

# calcurse

calcurse command
calcurse command

Further information can be gleaned from the calcurse man page or the calcurse github repository.

calcurse github repository – github.com/lfos/calcurse

4. Neofetch

neofetch is best described as a CLI information too. It displays your system information to the right of an ASCII operating system logo (although you can display another picture via configuration).

Written in Bash, neofetch provides OS information, kernel version, desktop environment, including the theme and icon set it’s using, the version of Bash installed, and what window manager is running.

The neat thing about neofetch is that it is highly customizable via the use of command-line flags.  There are over fifty configuration options available to you.

Installation is a snap:

# sudo apt install neofetch

Run neofetch via:

# neofetch

neofetch command
neofetch command

Another neofetch-type utility is screenfetch, and it displays much the same information.  Both work well for me, but my preference is neofetch, but screenfetch works just as well.  It’s merely a matter of preference.

neofetch github repository – github.com/dylanaraps/neofetch

5. Chkrootkit

chkrootkit is a security scanner used by administrators to search their Linux server or workstation for a ‘rootkit’ infection. In Linux, a rootkit is a malicious program that takes control of a system without the knowledge of the system administrator or Linux user. A rootkit can execute files and change system configurations, among other nefarious operations on your system.

While chkrootkit can provide Linux and administrators a level of protection, ensure full protection from rootkits by regularly updating your software and applications, and patching your system against all known vulnerabilities.

To install chkrootkit:

# sudo apt install chkrootkit

To run chkrootkit:

# sudo chkrootkit

sudo chkrootkit
sudo chkrootkit

Note that you must run chkrootkit as root (hence sudo).

To ensure maximum protection, it’s highly recommended that you run chkrootkit daily.  Easily accomplish this by changing the first line of /etc/chkrootkit.conf from:




You should also have to ensure to configure crontab to ensure that chkrootkit to run as scheduled.

chkrootkit github repository – github.com/Magentron/chkrootkit

6. Wttr.in

This is not so much a command-line utility, as it is a convenient way for developers and system administrators married to CLI to quickly and conveniently check the weather.

Their github page describes wttr.in as “a console-oriented weather forecast service.”

For visualization and its weather forecast data sources, wttr.in uses wego.

To get your weather, use the curl command, specify wttr.in, and then your location (the ?F is to suppress the “Follow” line):

# curl wttr.in/St.Louis?F

curl wttr.in/St.Louis?F
curl wttr.in/St.Louis?F

To get help and options:

# curl wttr.in/:help

Besides curl, Linux users can also use the commands httpie or wget.

wttr.in in the browser
wttr.in in the browser

Users can also get their weather from wttr.in from their browser window, too.

wttr.in github repository – github.com/chubin/wttr.in

These are but a few of the essential Linux commands/utilities that we look forward to bringing you soon here at FOSSLinux.  Of the six provided, all are powerful and worthy of an article to themselves in their own right.

If you know of any other essential Linux commands/utilities that you wish to share, go ahead and shout it out in the commands below. Remember sharing is caring!

Travis Rose
Hi, I'm M Travis Rose, a contributor to FOSS Linux. I have over thirty years of experience in the IT arena, at least fifteen of which has been working with Linux. I enjoy converting existing Windows users to the wonderful world of Linux. I guess you could call me a Linux-evangelist. Long live Linux!


Please enter your comment!
Please enter your name here




How to change Hostname on Ubuntu

Generally, a hostname is just an assigned name to a computer, laptop, or any other connected device to a network. You can say a hostname is a computer's nickname, and it is used to identify the machine over the network uniquely.

Manjaro vs. Ubuntu – which is better for you?

If you are a person associated with Computer technology and spend most of the time in the open-source arena, you must have heard or worked with some of the popular Linux distributions we have in the market. Some of the names that you will never miss are; Ubuntu, Arch Linux, Debian, and Mint.

9 Useful Tips Working with Operating System using Python

There are several situations when we want to work with the operating system using python. We may want to see the user details or want to do some tasks with the files and directories. If you are a system administrator, you will find it useful to work with Operating System as one can easily automate some repeating tasks of the Operating System using python.

System76 Lemur Pro Review

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.

Top 10 New Features in Linux Kernel 5.8

Linus Torvalds recently announced the release of Linux Kernel 5.8, and he seems delighted with it. He has pointed it out as the most significant release of all time. To developers, this new kernel comes with an addition of 800,000 new code lines and more than 14,000 changed files. To the average user, you might not see many eye-candy changes, as seen in the earlier releases.

How to install Flutter on Linux

Do you want to install Flutter and start creating awesome Android and iOS applications? Then you have come to the right place. Here is a comprehensive tutorial on how to install Flutter on Linux. If you are new to Flutter, don't worry, we got that covered too as we shall go in-depth understanding of Flutter and what it brings to the table.


Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

Ubuntu MATE 20.04 LTS Review: Refinement at its Best

Ubuntu MATE 20.04 LTS was released a week ago after two years of development. Official updates and security patches will be provided until April 2025. I have installed it on my test laptop for a spin and here are my observations based on almost a week usage.

How to install Android Studio on Ubuntu

Android Studio, like the name suggests, is a full-featured cross-platform IDE that enables you to develop Android applications to run on any android device. Based on JetBrains' IntelliJ IDEA, Android Studio comes installed with all the necessary features needed for Android development.

The 6 Best Linux File Recovery Software

Now and then, most of us lose important data in our computers either through accidental deletion, virus attacks, permanent removal of files, etc. Some of these files contain critical information that cannot be assumed and needs recovery. In this post, we will discuss some of the best data recovery available for Linux systems. The fantastic part is that most of them are opensource and freely available for use.

The 10 Best Linux Network Monitoring Tools

Having total control over your network is essential to prevent programs from overusing your network resources and slowing down the overall performance. This is why you should install a network monitoring tool on your system, giving you a visual overview of everything that's happening on your network. Networking Tools are like swiss-knife for the system administrators for troubleshooting system issues.