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

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