16 Oct, 2025
6 mins read

How to disable root account in Linux using 4 ways

Description The root account is the ultimate account on a Linux and other Unix-like operating systems. This account has access to all commands and files on a system with full read, write and execute permissions. It is used to perform any kind of task on a system to create/update/access/delete other users’ accounts, install/remove/upgrade software packages, and so […]

4 mins read

How to tweak password expiry using Linux Chage command

Description The chage command, lets you tweak user password expiry information Following is its syntax: chage [options] LOGIN And here’s what the man page says about it: The chage command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine […]

3 mins read

How to copy files between hosts in a network using DCP

Description We often need to copy or share files over the network. Many of us are used to using tools such as rsync or scp to transfer files between machines. In this tutorial, we are going to review another tool that can help you copy files between hosts in a network – Dat Copy (dcp). Dcp does not require SSH […]

2 mins read

How to Downgrade RHEL/CentOS to Previous Version

Description If you have upgraded your kernel and redhat-release packages and you are encountering some issues. In this article, we will describe how to do downgrade RHEL or CentOS version to previous minor version. Note: The following steps will only work for downgrades within the same major version (such as from RHEL/CentOS 7.6 to 7.5) but not between major […]

1 min read

How to Undo or Redo a Yum Install on CentOS and RHEL

Description One of the most important and useful feature added to YUM Package Manager (from version 3.2.25) is the ‘yum history’ command. It allows you to review a full history of yum transactions that have been run on a system. It shows the dates and times when a transactions were performed, whether the transactions succeeded […]

3 mins read

How to Create and Use Alias Command in Linux

Description Linux users often need to use one command over and over again. Typing or copying the same command again and again reduces your productivity and distracts you from what you are actually doing. You can save yourself some time by creating aliases for your most used commands. Aliases are like custom shortcuts used to […]

2 mins read

How To Create a Linux Swap File

Description In this article, we will explain swap space, and learn how to create swap space using a swap file in Linux: this is important in case we don’t have a swap partition created on the hard disk. Swap space/partition is space on a disk created for use by the operating system when memory has […]

3 mins read

How to Create a Virtual HardDisk Volume Using a File in Linux

Description Virtual Hard Disk (VHD) is a disk image file format which represents a virtual hard disk drive, capable of storing the complete contents of a physical hard drive. It’s a container file that acts similar to a physical hard drive. The disk image replicates an existing hard drive and includes all data and structural […]

2 mins read

Linux service command

The service command lets you run a System V init script. In this tutorial, we will briefly discuss this tool using some easy to understand examples. Linux service command Here are the available syntax for the service command in Linux: service SCRIPT COMMAND [OPTIONS] service –status-all service –help | -h | –version And here’s how […]