Display Linux users
Hi everyone,
I just want to ask how I can display a list of all the users on my machine? Not just the currently logged on users but all of them. Thank you very much for your replies. |
Hi, welcome to LQ!
This gets asked quite often, you could have used the search :} One possible way: awk -F: ' $3 > XXX {print $1}' /etc/passwd XXX depends on your distro; in Slack, use 100 (the System/daemon users are all lower than that). Debian: use 1000. Some others: maybe 500 :} Cheers, Tink |
Thanks!
Wow, thanks! I've been googleing it all over and I just couldnt find the right keywords for it. So when I got to LQ, i'm just really desperate. hehehehe
Thank you very much. I think I'll be quite a frequent visitor here :D |
Quote:
Cheers, Tink |
All times are GMT -5. The time now is 09:20 AM. |