Enhancing Skills

top: Display the full command line of each process

Command: top The top command displays a real-time view of system processes and their resource usage. By default, it shows the command line of each process in a truncated form, but you can configure it to display the full command line. When you run the top command without any arguments, […] Read more »

zcat: Display the contents of a compressed file, without extracting it

Command: zcat The zcat command is used to view the contents of a compressed file without actually extracting it. It works with files compressed using gzip and displays the file’s content to standard output (stdout). Sample Commands and Outputs: Description: Description: Description: Note: zcat only works with files compressed using […] Read more »

bzip2: Compress or decompress files

Command: bzip2 / bunzip2 The bzip2 command is used to compress files using the bzip2 compression algorithm, which provides better compression ratios compared to gzip. The bunzip2 command is used to decompress files compressed with bzip2. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Note: bzip2 provides high […] Read more »

gzip: Compress or decompress files

Command: gzip / gunzip The gzip command is used to compress files using the GNU zip algorithm, which reduces the size of files. The gunzip command is used to decompress files that have been compressed with gzip. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Note: gzip is […] Read more »

tar: Create, extract, and manage archives (compressed files)

Command: tar The tar command (tape archive) is used to create, extract, and manage archives. It can combine multiple files into a single archive file, often compressing it to save space. The tar command supports various compression methods. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Description: Description: […] Read more »

umount: Unmount a filesystem

Command: umount The umount command detaches a filesystem that was previously mounted, making it no longer accessible from the mount point. It is crucial to unmount filesystems before removing or modifying storage devices to ensure data integrity. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Note: Ensure no […] Read more »

mount: Mount or unmount filesystems

Command: mount The mount command is used to attach filesystems to the directory tree at a specified mount point. It allows you to access the filesystem’s contents. Conversely, the umount command (not to be confused with unmount) is used to detach filesystems. Sample Commands and Outputs: Description: Description: Description: Description: […] Read more »

df: Display a summary of the amount of disk space used and available

Command: df The df (disk free) command displays the amount of disk space used and available on mounted filesystems. It provides an overview of disk space usage across different filesystems. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Note: The df command is essential for monitoring disk space […] Read more »

du: Estimate the disk usage of a directory and its subdirectories

Command: du The du (disk usage) command estimates and displays the disk space used by files and directories. It provides information on how much space is used by a specified directory and its subdirectories. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Description: Note: The du command is […] Read more »

chroot: Change root directory

Command: chroot The chroot command changes the apparent root directory for the current running process and its children. This creates an isolated environment within the filesystem, making it appear as if the process is running on its own separate system. It is commonly used for testing, creating isolated environments, or […] Read more »