How to Automate SSH Login Using sshpass on Linux

SSH, or Secure Shell, is a widely-used protocol for secure remote access to servers and other network devices. It allows users to connect to a remote machine or server using a command-line interface and authenticate using a password or key-based authentication. If you want to

How to Use the WP-CLI Command-Line Tool on Linux

WordPress is one of the most popular and user-friendly CMS (content management systems) available on the market and can be easily used by coders and non-coders. The biggest reason for its popularity can be said to be its intuitive admin interface and plugin support, which

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 Ping Multiple Hosts at High Performance with fping on Linux

First, let’s talk about the traditional ping command, its shortcomings, and how fping can fill those gaps before discussing the fping command. If you are only interested in knowing about the fping command, then click here. So, let’s begin. Short Intro of Traditional Ping Command

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