How to Check the Number of Created User Account on Linux

Share this Article :

Question :
How to check the number of created user on linux server?

Answer :

To check the created user on your linux machine, simply run the following command. This will includes the number of user for installed services such as apache, mysql or squid which will be installed automatically in order to run the particular services.

[[email protected] ~]# cat /etc/passwd | wc -l
38

This command has been tested on linux centOS 6.2 server and may working on Redhat Enterprise linux and othr CentOS version. The result shows that there are 38 users on this linux CentOS 6.2 server.

Leave a Reply