Purpose of utmp, wtmp, and btmp files in Linux (with an Example)

If you are aware of the Linux file structure, then you might already be aware of the “/var/log” directory that is responsible for keeping the system related logs. You can easily list the content of this directory using the ls command. Output: As you can

Beginners Guide for Finger Command in Linux

The finger is an external command-line tool that can be used to list all the logged-in users on a remote machine or server, like “w” or “who” commands. This tool is also referred to as a “user information lookup program”, as it provides you with

How to List All Logged-In Users in Your Linux System

Have you ever been curious to know who is connected to the remote machine or server you have been working on? I mean, who doesn’t want to do that? Look, listing all the user accounts in your Linux system is quite an easy task, but

Beginners Guide for Realpath Command on Linux

We recently published a detailed article on the use of the readlink command in Linux; if you read that article, you will understand this better. In short, both are identical tools for finding the original file to which the soft link points. But this tool

Beginners Guide for Readlink Command on Linux

If you have been following us for a long time, then you might already be aware of symlinks (or soft links), but for a quick reminder, they are a kind of shortcut to another file in Linux. Now, you might already be interacting with soft

Beginners Guide for Hash Command in Linux

You might already be aware of the Linux shell’s default behavior of capturing each user’s executed commands and storing them in the “~/.bash_history” file, so later you can view the history list using the history command. Although, history is not the only location where your

Beginners Guide for Time Command in Linux

The time command is used to determine the amount of time taken by the referenced command or shell script to execute in your system, from start to finish. It returns the result in three categories: real time, user time, and system time (we will discuss

Beginners Guide for Sleep Command in Linux

As its name suggests, the sleep command is commonly used by shell script writers to delay the execution of individual or portions of commands specified after this command in script. Using this command, you can delay the next command’s execution for the specified number of

Beginners Guide for Wall Command in Linux

If you are a sysadmin, then wall command can be your next favorite Linux tool, thinking why? With the help of this tool, you can broadcast messages to all logged-in users on your system, either locally or via SSH. This tool comes in handy, especially

Beginners Guide for Pstree Command on Linux

The ps and top commands are the most popular and commonly used command-line programs to view the currently running processes on your Linux system. The pstree is also similar to them, except that it outputs the running process in the form of a tree; if

What is SystemD on Linux?

This article will teach you what systemd is and why it replaced SysVinit; what systemd unit files are; how to list all and specific unit files; and how to view the content of a unit configuration file. Why SystemD? To understand Systemd, you must first

What is ‘init’ Process and Command on Linux?

In this article, you will learn about the short description of the init process, the runlevels of init, and the init command in a Linux system. What is Init Process? In layman’s terms, when you press the power button, your system will first look for