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

Beginners Guide for Uname Command on Linux

The uname (which stands for “Unix Name”) is a commonly used Linux command-line utility to print basic information about the operating system name and system hardware. The output with the “-a” flag will give you a summary of your system architecture, kernel name, kernel release,

What is File Globbing in Linux (How to Use It with Examples)

If you have ever used wildcard characters like (*) or (?) for global selection, then you are already interacting with file globbing, but let’s get a proper picture of it with its introduction. What is Linux File Globbing? File globbing is a built-in shell operation

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