Last active
August 29, 2015 14:16
-
-
Save DBasic/391eb6f7136ec4ed6ca4 to your computer and use it in GitHub Desktop.
[linux] list all users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cut -d: -f1 /etc/passwd | |
| list groups | |
| cut -d: -f1 /etc/group | |
| http://www.cyberciti.biz/faq/linux-remove-user-command/ | |
| To find all files owned by user vivek, enter: | |
| # find / -user vivek -print |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment