List All users Unix

List All users Unix

If you are trying to find out list of all users on Ubuntu system you could use below commands:

$ cut -d: -f1 /etc/passwd

List All users Unix List All users Unix

  • You can also use:

$ cat /etc/passwd
$ less /etc/passwd
$ more /etc/passwd

  • For more information please refer Unbuntu manual here

Leave a Reply

Your email address will not be published. Required fields are marked *