How to Install and Use NPX in Linux

You might already be aware of the popular NPM (Node Package Manager) used as a package manager for Node, while NPX (Node Package eXecute), introduced in NPM version 5.2.0 (on August 10, 2017), an NPM package runner, is quite unpopular. In this article, you will

How to Install Docker and Docker Compose in Major Linux Distributions

This article intends to focus on what Docker and Docker Compose are, their usage and drawbacks, and how to install them in major Linux distributions. Tutorial Details Description Docker and Docker Compose Difficulty Level Moderate Root or Sudo Privileges Yes Host System and Architecture Ubuntu

What is /dev/zero in Linux and its Uses

In this article, you will learn what the “/dev/zero” file is and what its purpose is, but before you understand that, you must know what the special files in Linux are. What are “Special Files” in Linux? In Linux, a “special file” is a type

What is File Globbing in Linux?

If you have ever used wildcard characters like (*) or (?) for global selection, then you are already interacting with file globbing, but let’s get a proper picture of it with its introduction. What is Linux File Globbing? File globbing is a built-in shell operation

What Are utmp, wtmp, and btmp Files in Linux?

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

Understanding the Role of /dev/sda in Linux

When a Windows user encounters a Linux system for the first time, their first thought is: where are the “C:/“, “D:/“, or “E:/” drives? So, my innocent Linux newbies, you must know that Linux doesn’t have any concept of local disk like in Windows; here,

Controversy of ‘init’ and ‘systemd’ in Linux

The ‘init’ vs ‘systemd’ is a serious debate topic that divides the Linux user into two groups. 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. So,

What is SystemD in 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 in 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

Everything About /proc File System in Linux

Proc file system (short for “procfs”, referring to “/proc” dir) is a virtual file system (not a real file system) that is mounted on system boot to store information related to running processes. The proc file system stores useful information about the running process and

What are File Descriptors in Linux

In this article, you will learn everything about file descriptors, like their uses in Linux, what a file descriptor table is, how to view the file descriptors under a specific process, and how to change the limit of a file descriptor in Linux. What are

What is inode in Linux?

In this article, you will learn what an inode is, how to check an inode and its size in Linux, and their roles in soft/hard links and system updates. What is Inode in Linux? In your Linux filesystem, an inode (or index node) is a