Advertisement
thesuhu

Rocky Linux

Feb 10th, 2023 (edited)
1,382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.22 KB | None | 0 0
  1. # To check the list of users on a Rocky Linux system
  2. cat /etc/passwd
  3. # see only the usernames of the users
  4. cat /etc/passwd | cut -d: -f1
  5.  
  6. # list of open ports and the processes that have them open
  7. lsof -i -P -n | grep LISTEN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement