Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list all linux user
- ```
- cat /etc/passwd
- ```
- show only the usernames
- ```
- cat /etc/passwd | cut -d: -f1
- ```
- show real names
- ```
- cat /etc/passwd | cut -d: -f5
- ```
- list all logged in users
- ```
- w
- who
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement