Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # To check the list of users on a Rocky Linux system
- cat /etc/passwd
- # see only the usernames of the users
- cat /etc/passwd | cut -d: -f1
- # list of open ports and the processes that have them open
- lsof -i -P -n | grep LISTEN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement