Beginners Guide for Diff Command in Linux

Today, in this article, you will learn how to use the diff command in Linux to compare the content of two different files or directories to find the changes that are required to make them identical. Tutorial Details Description Comparing Files or Directories Difficulty Level

What is Strip Command and How to Use it?

In this article, you will learn what the strip command is, its usecase, and how to use it to reduce the size of your compiled program. Tutorial Details Description Stripping the Information from Compiled File Difficulty Level Moderate Root or Sudo Privileges No OS Compatibility

How to Install and Use NPX in Linux: A Step-by-Step Guide

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

Clean Up Unwanted APT Packages in Linux

New Linux users often install a lot of unnecessary APT packages that they might rarely use in the future. Also, a few bulky distributions come with many pre-installed APT packages. When the Linux system is running low on disk space, it becomes necessary to clean

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

Mount and Unmount File Systems in Linux

The mount command in Linux is used to mount a file system or removable storage devices like USB flash drives to a specific point in the directory tree, known as the “mount point”. This allows files and directories on the file system or storage device

How to Use lsblk Command on Linux

The lsblk (pronounced “L-S-block”) command is commonly used to get the list of all the block devices in your system with their information, such as size, type, mount point, etc. If you are wondering, what are block devices? Then it’s basically files that represent the

Learn Linux dd Command with 17 Examples

The dd command is a command-line utility that is abbreviated as “Data Definition“, “Data Duplicator“, or “Disk Dump” depending upon the usage, but it’s commonly known as a utility for copying and converting data in Linux. It can copy data from a file or block

Block/Unblock Ping ICMP Requests in the Linux System

Ping is the most commonly used command-line utility used by many sysadmins or network engineers to check whether a target machine is up or down in a given network. We already discussed how this command works in a separate article; click here to read it.

How to Kick Out SSH Users from the Linux System

As a sysadmin, when you are working on a remote system or server, multiple users might be accessing the same system via SSH simultaneously. Active users can gently disconnect from the server by issuing the “exit” command in the terminal once they are done with

How to Talk to Other Users on the Network in Linux

The write command in Linux allows two logged-in users to communicate with each other via the terminal in real time until they are on the same network. This command copies the text from one terminal to another, making it possible to send messages or text

How to Check, Allow, or Disallow Terminal Write Access in Linux

By default, all the Linux systems accept standard input from another user connected in the same network using the “wall” or “write” commands. It is possible due to the terminal’s ability to write messages received from another user on the screen; check out our article