Thursday, February 20, 2020

How to Install and Use 7zip File Archiver on Ubuntu 18.04

In this tutorial, we are going to learn how to install and use 7zip utility, a free and open-source file archiver, on Ubuntu 18.04. 7-Zip is a 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...

How to Add Users to sudo group in Linux

In this guide, we are going to learn how to add users to sudo group in Linux. More often than not, you want, as a non-root user, to run commands with elevated privileges in Linux. So the only way this can happen is to give user sudo privileges by adding them to a sudo group or to...

Run only Specific Commands with sudo in Linux

In this guide, you are going to learn how to run only specific commands with sudo in Linux. Our previous guide covered how to add user to sudo group to enable them to execute the commands with elevated privileges. How to Add Users to sudo group in Linux

Delete Lines Matching a Specific Pattern in a File using SED

In this guide, we are going to learn how to delete lines matching a specific pattern in a file using SED. SED is a stream editor that performs basic text filtering and transformations on an input stream (a file or input from a pipeline). Delete Lines Matching a Specific Pattern in a File using SED In our previous guide, we covered...

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

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

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...

Using Find Command to Search for Files and Directories in Linux

Welcome to our guide on using find command to search for files and directories in Linux. find is a command-line utility that searches one or more directory trees of a file system, locates files based on some user-specified criteria and applies a user-specified action on each matched file. It can also be use with other Linux/Unix commands to...

Delete Lines Matching Specific Pattern in a File using VIM

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...

Connect to WiFi in Linux Using NMCLI command

This tutorial will guide you on how to connect to WiFi in Linux using NMCLI command. NMCLI is a command-line tool for controlling NetworkManager and reporting network status. It can be utilized as a replacement for nm-applet or other graphical clients. It is used to create, display, edit, delete, activate, and deactivate network connections, as well as...

Extract Log Lines of Specific Dates from a Log File

Good day folks. Today, we would like to discuss how to extract log lines of specific dates from a log file. If you are a guy that sifts through a thousand logs in between the lines looking for something, then this article will best suit you. Extract Log Lines of Specific Dates from...