Browsing Category

Linux Commands

Linux Commands for Linux Beginners

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 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.…

What is Neofetch for Linux?

Neofetch is a super-convenient command-line utility used to fetch system information within a few seconds. It is cross-platform, open-source, and it displays everything ranging from your system’s uptime to the Linux kernel version. This…

How to Use Linux Stty Command?

In Linux-like systems, a user can do anything like communicating with the system or opening up files using the terminal. Everything in the Linux system is represented as a file or directory. If we talk about the terminal, another term of…

How to Use Linux Strace Command?

The “strace” is a Linux command-line utility that is a useful and powerful tool to capture, monitor, and troubleshoot the programs in a system. It records and intercepts the system calls, which is quite helpful when some program crashes…

How to Run “patch” Command in Linux?

The “patch” is a command for adding patch files to source code or text files. It takes input as a patch file and applies differences to original files. We use the “diff” tool to get the difference. The “diff” is abbreviated as…