How to Automate SSH Login Using sshpass in 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 Ping Multiple Hosts at High Performance with fping in 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

Find the Last Logged-In Users in Linux with Lastlog Command

The lastlog command in Linux shows the most recent login of all the users or a specific user by pulling the information from the “/var/log/lastlog” file. The output is a long format summary of all the user’s account names, ports, IP addresses, and last login

Check Historical and Statistical Uptime of Linux

As a system administrator, you may want to look for various information on your workstation or server system, such as how long the system has been running. This way, you can keep track of the system resources and optimize based on your usage. Unfortunately, the

How to Check User’s Failed Login Attempts in Linux

Recently, we wrote a detailed article on how to check a user’s login history in Linux to track user activity for a particular investigation. Unfortunately, the command mentioned in that article can’t show the log of a user’s failed login attempt; it only shows the

Beginners Guide for Pinky Command in Linux

Want to find out all the users who logged into your system? Don’t raise your finger; raise your pinky instead. Confused about what I am talking about? Let me explain what I mean. In Linux, there are numerous tools to show you all the logged-in

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