-
Notifications
You must be signed in to change notification settings - Fork 0
Linux Commands
natalie363 edited this page Sep 20, 2022
·
2 revisions
- sudo apt update
- sudo apt upgrade
- Restart
- addusr (username)
- passwd (username)
- sudo nmap -sT (ip) - for unprivileged users and IPv6 networks
- sudo nmap -sS (ip) - the default NMAP option
- sudo nmap -sV (ip) - for version and OS detection
- sudo nmap -A (ip) - for script scanning, version, and OS detection
- sudo nmap -p (port) (ip) - for scanning a specific port
- cat - to read a file
- cd - to change directories
- tree - to view position in the directory tree
- ls - to see files in directory
- mkdir - to make a new directory
- cp (file) (destination) - to copy a file
- grep - to search file output