How to display the list of users on Linux from the command line?
The easiest and fastest way to display the list of users from the command line on Linux is to read the file /etc/passwd. We could simply use: The return of this command is not easy to read, to do this we cut the result to have only the first part of each line which corresponds …