The fsck command is used to check the integrity of a file system. File system integrity refers to the correctness and validity of a file system. Most systems automatically run the fsck command at boot time so that errors, if any, are detected and corrected before the system is used. File system errors are usually […]
blkid: command not found
The blkid command offers similar functionality to lsblk, but it simply prints each block device in a flat format and includes some additional information like device/ partition UUID and file system type. However, it is preferable to use lsblk -f if you want this additional information. Syntax The syntax of the blkid command is: # […]
lsblk: command not found
The lsblk command displays information about all block storage devices that are currently available on the system. The output is displayed in a tree-like format with each physical device at the top of the tree and each partition or logical volume branching off from that device. The information displayed includes names, major and minor numbers, […]
mount: command not found
mount: command not found The mount command loads a file system to a specified directory so that it can be accessible to users and applications. You must specify the device to mount as well as the desired mount point. Syntax The syntax of the mount command is: # mount [options] {device name} {mount point} mount […]
mdadm: command not found
The mdadm command is a tool used to manage software-based RAID arrays. A redundant array of independent disks (RAID) is a set of vendor-independent specifications that support redundancy and fault tolerance for configurations on multiple-device storage systems. In a RAID array, data is stored across multiple physical storage devices, and those devices are combined into […]
mkfs: command not found
The mkfs command is used to build a Linux file system on a device, which is usually a drive partition. The below table lists some options of the mkfs command and their descriptions. Option Used To -v Produce verbose output -V Produce verbose output including file-system specific command -t {fstype} Specify type of file system […]
parted: command not found
The GNU parted utility is also used to view the existing partition table, change the size of existing partitions, or add partitions from free space or additional hard drives. This utility is more advanced than the fdisk utility. It supports more disk label types and offers additional commands. parted syntax is: # parted [option] [device_name] […]
fdisk: command not found
The fdisk utility is a menu-driven program that is used to create, modify, or delete partitions on a storage drive. Using fdisk, you can create a new partition table or modify existing entries on the partition table. The fdisk utility understands the DOS and Linux type partition tables. The fdisk utility also enables you to […]
e2label: command not found
File system labels are assigned to file systems for easy identification. The labels may be up to 16 characters long and can be displayed or changed using the e2label command for ext# file systems and the xfs_admin command for XFS file systems. Syntax The syntax for setting ext# file system labels is: # e2label /dev/{device […]
setfacl: command not found
The setfacl command is used to change the permissions associated with the ACL of a file or directory. The setfacl command has several options, some of the most common of which are described in the following table. Option Description -R Recursively set ACL options for directories and their contents. -s Set the ACL of an […]