Oct 162010
Count the total number of logged in user
Answer:
To count the total number of logged in user(s), use the following commands:
# who | wc -l
3
It shows currently there are 3 users logged in.
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Count the total number of logged in user
Answer:
To count the total number of logged in user(s), use the following commands:
# who | wc -l
3
It shows currently there are 3 users logged in.