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

Beginners Guide for Logname Command on Linux

The logname command gives you the username of the currently logged-in user by reading the “/var/run/utmp” file, which is identical to the whoami command with one difference. Stick with this article to learn the difference between the logname and whoami commands, the usage of the

Beginners Guide for Whoami Command on Linux

The whoami (concatenated of the strings “who,” “am,”, “i” as whoami) is a Linux command line utility that prints the username associated with the current effective user ID. It comes in handy, especially while writing the shell script, like fetching the username within the script

5 Ways to Follow (or Find All) Symbolic Links in Linux

Symbolic links (also referred to as “soft links” or “symlinks”) are a kind of shortcut to another file used in the Linux operating system mostly for shared libraries. If you’ve been using Linux as a regular desktop, you might already have encountered one or will

Beginners Guide for Realpath Command on Linux

We recently published a detailed article on the use of the readlink command in Linux; if you read that article, you will understand this better. In short, both are identical tools for finding the original file to which the soft link points. But this tool

Beginners Guide for Readlink Command on Linux

If you have been following us for a long time, then you might already be aware of symlinks (or soft links), but for a quick reminder, they are a kind of shortcut to another file in Linux. Now, you might already be interacting with soft