Category Archives: Linux Commands

Journalctl Command examples in Linux – A Comprehensive Guide

By | August 24, 2023

Maintaining a healthy and productive Linux environment requires effective system log management. The journalctl command has evolved into an essential resource for accessing and analyzing system logs with the introduction of systemd, the system and service manager for recent Linux distributions. The journalctl command’s adaptability and utility on Linux-based systems will be examined thoroughly in… Read More »

10 “lsof” command examples in Linux – Check open files and sockets

By | July 22, 2023

lsof, which means “list open files”, is a command-line utility that shows information on currently opened files and the processes they are associated with in Linux and other Unix-based operating systems. A file in this context could be your regular file, a directory, a block-special file, a library, a character-special file, an executing text reference,… Read More »

10 “lsblk” command examples in Linux – List block devices

By | July 22, 2023

Introduction This article will explore the ‘lsblk’ command to understand the structure of storage devices through practical examples with filtering options. This will help you manage, monitor, analyze, and troubleshoot block devices on a Linux system. Block devices are storage devices that store and retrieve data in fixed-size blocks. Installation To install ‘lsblk’, you can… Read More »

Examples of “iotop” command in Linux – Monitor disk input/output per process

By | June 6, 2023

Iotop is an open-source and free utility Linux command used to display the statistics of disk input/output by processor/threads and print the summary which gets refreshed every second. It is quite similar to the top command, except that iotop monitors just disk i/o and not other metrics. This command is particularly useful for system administrators… Read More »

11 “sar” Command Examples in Linux to Monitor System Resources

By | September 15, 2023

sar (System Activity Reporter) is a command line tool used to collect, report, and analyze system activity information in Linux and other Unix-based operating systems. In other words, it gathers information and provides insights on system activity, such as CPU utilization, memory usage, I/O operations, network activity, disk usage, power management, and much more, which… Read More »

How to check Ram Rank and Bank details in Linux – decode-dimms

By | May 20, 2023

The decode-dimms program from i2c-tools package can be used to extract spd information from the ram modules which provides details about the module including the timings, clock speed, internal layout of the memory blocks including rank and bank count. The command can be installed with the following commands: sudo apt-get install i2c-tools sudo modprobe eeprom… Read More »

10 simple Rsync Command Examples in Linux

By | April 23, 2023

rsync (remote synchronization) is a command-line tool for transferring and synchronizing files and directories locally and remotely in Linux. In other words, rsync is used for transferring files and directories, creating backups, mirroring files, and transferring large files between two locations. rsync identifies the differences between the source and destination files and directories using its… Read More »