What is C Shell (and Tcsh) in UNIX/Linux System

The C shell (or CSH) is one of the earliest UNIX/Linux shell interpreters, developed by Bill Joy at the University of California, Berkeley, in the late 1970s, inspired by the C programming language. Along with Bash and Korn Shell, these three were the most popular

What is Korn Shell (KSH) in UNIX/Linux System

You might have heard of the Bash shell (or even ZSH or Fish), whose popularity has overshadowed other shells to the point that most Linux users think they are the only shell interpreters available for Linux. But before they came into existence, there was another

How to Install Fish Shell (with Starship) in Linux

The Fish is a modern (friendly interactive shell) program identical to its allies, like Bash and Zsh, but with sprinkles on top. What does that mean? You already know about the Bash shell (because it’s the default login shell for most Linux distros) and the

How to Install Zsh (with Oh-My-Zsh) in Linux (Ultimate Guide)

Bash is the default shell for most of the Linux distributions, but it is not the only one; there are other shell interpreters like ZSH (and Fish) that are available. Kali Linux and macOS Catalina were early adopters of ZSH as the default login shell,

Different Ways to Search Files or Directories on Linux

In Linux, you have multiple tools that can help you find the absolute path for files and directories in your system. Today, you’ll learn about those tools from basic to advanced, including their pros and cons to help you easily distinguish between them and decide

Understanding Stdin, Stdout, and Stderr Streams in Linux

If you ever used vim, nano, or read commands, you were already using the stdin stream. Or if you were listing the files and directories from your system using the ls command, you were using the stdout stream. In case you misspelled your command or

Beginners Guide for Sed Command on Linux

The sed command is a stream editor that helps you search, find, replace, insert, and delete strings from the referenced text file without opening it. It is similar to the AWK and grep commands that follow the regular expression approach to modify the string from

Beginners Guide for AWK Command on Linux

Awk is a domain-specific programming language that can be used as a Linux command-line tool or within a shell script. The working is similar to the sed and grep commands, extracting the data from the reference file using the regular expressions. It can be piped

Systemctl Mask vs Systemctl Disable

The “systemctl mask” and “systemctl disable” are both crucial commands for Linux administrators, and you must know their differences to decide which one to choose in certain situations. The “systemctl enable” command allows your services to start on system boot. If you disable your service

How to Use Systemctl Command in Systemd Linux System

Most Linux distributions, such as Debian, Ubuntu, Fedora, Redhat, Manjaro, or OpenSUSE, use systemd as their init system; if unsure, you can check whether you are using systemd or not. Despite all the criticism surrounding systemd, it still holds the number one position on the

Compgen Command on Linux with Examples

The compgen command is a very handy tool available in major Linux distributions that can help you find your system aliases, shell built-ins, commands, directories, groups, jobs, users, etc. In this article, you will learn how to use the compgen command with practical examples. Tutorial

Cat and Tac Command Usage on Linux

The cat command is pretty useful for reading, creating, and concatenating files. While the tac command also works similarly to the cat command, which outputs the last line first. Tutorial Details Description Cat and Tac command Difficulty Level Low Root or Sudo Privileges Maybe OS