How to Check User’s Failed Login Attempts on 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

Beginners Guide for Uptime Command in Linux

The uptime command is one of the many resourceful Linux utilities for sysadmins that is capable of telling the system boot related information like the current time, the uptime (in days and hours), the number of users currently logged on to the system, and the

Beginners Guide for Who Command in Linux

The who command is a built-in Linux utility that shows a list of users who are currently logged on to the Linux system. In this article, you will learn how to use this command and what options it has to offer (with practical examples). Tutorial

Beginners Guide for W Command in Linux

The w command is a built-in Linux utility that is capable of listing the usernames of all the users that are currently logged-in, locally or remotely. In the output, you can view the information of all the logged-in users, like their username, where they are

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

What is SSH and How to Install it on Linux?

In this article, you will learn what the SSH protocol is, how it works, and a short history of this protocol. If you are only interested in the installation part, then click here. Tutorial Details Description OpenSSH Difficulty Level Moderate Root or Sudo Privileges Yes

How to Use Here Document (HereDoc) in Linux Shell Script

While writing shell script, you might get stuck in the situation where you want to redirect a block of lines from your script to interactive commands like sed, cat, ssh, or ftp. The purpose of this redirection might vary from situation to situation. For example,