Systemd Vs Init for Linux Beginners (Final Verdict)

Systemd vs. init is a serious topic that sparks fire in veteran Linux users. While reading this article, many Linux users might be offended or supportive, so do not rant over me. The comment section is all for your constructive opinion. To start, we’ll discuss

What Are the Different Types of Linux Shells?

The UNIX/Linux shell is a command-line program that creates a bridge between the terminal emulator and kernel to allow users to enter commands, execute programs, and perform various other tasks by typing commands at the command prompt. Once the shell has finished executing the user

How to Rename Files and Directories on Linux

Renaming files and directories is one of the most basic tasks that every Linux user performs regularly using the GUI or command line tools. In both of these tools, renaming a single file is pretty easy, but renaming multiple files can be trickier, especially for

How to Run a Linux Command Without Keeping It in History

Each command executed in your Linux terminal is being recorded by your shell (referring to Bash) in a separate file (like “~/.bash_history“) that you can view using the history command. For most Linux distributions, the number of commands that should be recorded and the number

Display and Filter History Records Based on Date and Time in Linux

Executing the history command without specifying any options will give you a clean record of previously executed commands with their event numbers. Output: As you can see, it does not display the date and time, so without them, you can’t even manage to filter the records. In

Beginners Guide for History Command in Linux

Each command executed in your Linux terminal is taken as an event and associated with an event number (or index number) later found in the “~/.bash_history” file. Now, you can use a program like a “cat” to read the record of this file, but Linux

How to Find the Most Used Commands in Your Linux System

As a Linux administrator or a normal user, you often have to execute multiple commands in your terminal emulator like Gnome Terminal or Konsole for different purposes. But have you ever wondered which command you are executing repeatedly without being aware of it? So, don’t

Listing All the Available Shells in Your Linux System

Bash is the most popular shell implementation program that most modern Linux systems like Debian and Ubuntu ship out of the box, unlike ZSH and Fish. However, operating systems like Kali Linux and macOS took a step forward by providing ZSH as the default login

How to Run (.sh) Shell Script in Linux [for Beginners]

How do I write and run a shell script on Linux? Is there a way to run a shell script without executable permission, or can we run a shell script directly from a URL? Don’t worry; you are about to learn all those things in