Linux Du Command Examples

Linux Du Command Examples The du Linux command is very popular for UNIX and Linux systems. This command is used to view the information about disk usage of all directory tree and files on a machine. This command has various parameter flags…

How to Modify a Host File in Linux

The host file is a plain text file used by the operating systems to map Domain names to their corresponding IP addresses. Although this tutorial focus on the host file in Linux, the host file is available in all operating systems,…

Linux Cat Command Examples

Linux command cat short for ‘concatenate’, is a very useful command.  Using the cat command, you can create a file, view file content, concatenate files, and file output redirection. We will discuss the different uses of the cat command…

Linux “ls” Command Examples

“ls” is one of the most frequently used commands in Linux. It is used to list down the files and sub-directories within your current directory. This command is equally useful for normal users as well as for system administrators.…

Linux rmdir Command Examples

The rm and rmdir commands in Linux are used to remove files and directories. Both are powerful commands and have very few command-line options. The difference between these commands is that rmdir only removes “empty directories,” and it…

How to install WSL 2 on Windows 10

Windows Subsystem for Linux 2, also known as WSL 2, is the latest version of a compatibility layer that lets Windows users run a Linux/GNU environment on Windows. Through WSL 2, a Windows user can use Linux utilities, command-line, tools,…

How to Use Taskset Command

To start with the “taskset” command, first, we need to know about process affinity. Process affinity is the scheduler property that helps to bind or unbind the process so that the process will run only with the allotted CPU. In Linux-like…

How to Use Linux Logger Command

In UNIX and Linux-type operating systems, the log is a file that records each action of the operating system. Whenever a user login to the system, it saves the record in the log file. It also allows the user to add any content to the file.…

How to Create a Simple Shell Script in Linux

In Unix System, Shell provides an environment to connect the Linux user and operating system. It helps to get input from the user through commands, operate the function based on input and return the output on the terminal. Shell scripts…

How to Find and Delete Broken Symlinks on Linux

Symlink or a.k.a symbolic link is a file containing the address of some file or directory and points towards that directory or file. But, when you move or delete the original file, then the symlink gets broken, and it does not work anymore.…