Delete Lines Matching Specific Pattern in a File using VIM

1
This guide will take you through how to delete lines matching specific pattern in a file using VIM. Linux system admins work with files day in day out. At some point, you may want just to delete lines matching a specific pattern or a string in a file. There are quite a number of tools out there that you...

Installing Perf Performance Analysis Tool on Ubuntu 18.04

1
Good day all. This guides is about installing Perf performance analysis tool on Ubuntu 18.04. Perf, also known as perf_events is a powerful performance counter for Linux systems that gathers data about hardware events such as instructions executed, branches mispredicted or cache-misses suffered. It also provides very low overhead profiling of applications to trace dynamic control flow and identify hotspots,...

Install and Use 7zip on Ubuntu 18.04/Ubuntu 20.04

1
In this tutorial, we are going to learn how to install and use 7zip on Ubuntu 18.04/Ubuntu 20.04. 7zip is a free and open-source file archiver with a high compression ratio. The program supports 7z, LZMA2, XZ, ZIP, Zip64, CAB, RAR, ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO, most filesystem images and DEB formats. Compression ratio in the new...

How to check Hardware information, block devices and filesystems on a Linux System

1
In this tutorial, we will learn how to check hardware information, block devices and filesystems on Linux system. Many a time as we interact with the Linux system in our day to day activities, there may arise a need to check on the mounted filesystems, available block devices, disk space usage, system hardware information or even file space usage. Well,...

Viewing System Processes using ps and top commands

1
When commands are run on a system, various processes associated with them are created. Among the roles of a system administrator, being able to determine what processes are running, monitor and manage them is a critical skill. There are several program tools that can be used to achieve this. In this tutorial, we are going to explore some of...