Pages

Wednesday, May 1, 2013

Search or find all users on a Linux system

List all users on a Linux OS

Try one of these:

# cut -d: -f1 /etc/passwd
# cat /etc/passwd | cut -d ":" -f1

Got other ideas on how to do this? please leave a comment

Thanks!

No comments:

Post a Comment