Checking System Space (Df and Du Command)

Checking System Space (Df and Du Command) 1. Df: Df command shows the amount of disk space used and available on Linux file systems.It display the amount of disk space used by the specified files and for each subdirectory.df, which stands for Disk Filesystem, is used to check disk space. It will display available and…

Add User to Administrative Group (Sudoer)

Add User to administrative Group (Sudoer) The sudo command stands for “Super User DO” and temporarily elevates the privileges of a regular user for administrative tasks. The sudo command in CentOS provides a workaround by allowing a user to elevate their privileges for a single task temporarily. Login as Root user. Create new user using:…

Disk Partition (Fdisk Command)

Disk Partition Using Fdisk Command fdisk is a dialog-driven program for creation and manipulation of partition tables. It understands GPT, MBR, Sun, SGI and BSD partition tables. Fdisk can create a partition, delete a partition, change the partition type. This example shows how to add new hard disk on Virtual box and then partition this…

Basic Commands I

Basic Commands I This section describes Linux Command mostly used for beginners.  pwd— When you first open the terminal, you are in the home directory of your user. To know which directory you are in, you can use the “pwd” It gives us the absolute path, which means the path that starts from the root. The…