Find the Last Logged-In Users on 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 the Linux Uptime History Using the Uprecords

We wrote an article a few days ago about the tuptime command, which is used to view the historical and statistical records of the uptime command. In this article, we will discuss another similar utility named uprecords, which is used to record and keep track

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 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

Purpose of utmp, wtmp, and btmp files in Linux (with an Example)

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

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

How to List Logged-in Users Using w Command in Linux

The w command is a built-in Linux utility that allows you to list logged-in users on your system, including additional information about them. This includes their username, the terminal devices (TTY) they are using, the remote host or IP address they have connected from, the