Top 10 Useful Linux Utilities
- The Tech Platform

- Dec 12, 2022
- 2 min read
The Linux command is a utility of the Linux operating system. All basic and advanced tasks can be done by executing commands. The commands are executed on the Linux terminal. The terminal is a command-line interface to interact with the system, which is similar to the command prompt in Windows OS. This tutorial will show you the Top 10 Useful Linux Utilities.

Linux provides a powerful command-line interface compared to other operating systems such as Windows and macOS.
Below, we have Linux Utilities:
1. w
Display who is logged into the system and what process is executed by them.
$wfor help
$w -hfor current user
$w <username>2. nmon
Nmon or nigel’s monitor is a tool which displays performance information of the system.
$ sudo apt-get install nmon$ nmonnmon can dump information related to netwrok, cpu, memory or disk uses.
nmon cpu info (press c)nmon network info (press n)nman disk info (press d)3. ncdu
A Command utility is a cursor based version of ‘du’, this command is used to analyze disk space occupied by various directories.
$apt-get install ncdu$ncdu /Press n to order by name or press s to order by file size(default).
4. slurm
A command line utility used for command-based network interface bandwidth monitoring, it will display ascii based graphic.
$ apt-get install slurmExamples:
$ slurm -i <interface>$ slurm -i eth1options
Press l to display lx/tx led.
press c to switch to classic mode.
press r to refresh screen.
press q to quit.
5.findmnt
Findmnt command is used to find mount file systems. It is used to list mount devices and can alos mount or unmount devices as and when required, it comes as a part of util-linux.
Examples:
$findmntTo get output in list format.
$ findmnt -lList file systems mounted in fstab.
$ findmnt -sList mounted files systems by file type
$ findmnt -t ext46. dstat
A combined and flexible tool which can be used to monitor memory, process, network or disk space performance, it is a good replacement of ifstat, iostat, dmstat etc.
$apt-get install dstatExamples:
A detailed info about cpu, hard disk and network.
$ dstat-c cpu
$ dstat -cSome more detailed information about cpu
$ dstat -cdl -D sda1-d disk
$ dstat -d7. saidar
Another cli based system statistics monitoring tool, provide information about disk uses, network, memory, swap etc.
$ sudo apt-get install saidarExamples:
$ saidarEnable colored output
$ saider -c8. ss
ss or socket statistics is a good alternative to netstat it directory gather information from kernel space nad play fast in comparision to the netstat utility.
Examples:
List all connections
$ ss |lessGreb only tcp traffic
$ ss -A tcpGrab process name and pid
$ ss -ltp9. ccze
A tool that decorate your logs :).
$ apt-get install cczeExamples:
$ tailf /var/log/syslog | cczeList ccze modules:
$ ccze -lSave log as html.
tailf /var/log/syslog | ccze -h > /home/tux/Desktop/rajneesh.html10. ranwhen.py
A python based terminal utility that can be used to display system activities graphically. Details are presented in a very colorful histogram.
Install python:
$ sudo apt-add-repository ppa:fkrull/deadsnakesUpdate system:
$ sudo apt-get updateDownload python:
$ sudo apt-get install python3.2$ unzip ranwhen-master.zip && cd ranwhen-masterRun the tool.
$ python3.2 ranwhen.pyThe Tech Platform




Comments