Checking Active Users on Terminal
To view the active users on the system, use cat utility to get a list of users who are active or the users who are on the system.
$ cat /etc/passwd | cut -d: -f1
How to Send a Message to Logged Users in Linux Terminal?
Linux is a solution to the data center. It is flexible, stable, secure, and reliable. There are many users logged into servers for development purposes, testing, and usage. There are various tools to send messages to other users, but they do not allow widespread sending or sending to specific users due to security issues, so we’re limited to sending messages via terminals.