Command cheat sheets

Click any command to copy it.

Windows Commands

hostname
whoami
cd
dir
ipconfig
ipconfig /all
ping 127.0.0.1
ping <ip>
tracert <address>
netstat
nmap --version
ncat --help

Linux Commands

hostname
whoami
pwd
ls
ip addr
ip route
ping -c 4 127.0.0.1
traceroute <address>
df -h
free -h
nmap <target>
nc -h

OSI Model Quick Reference

Please — Physical
Do — Data Link
Not — Network
Throw — Transport
Sausage — Session
Pizza — Presentation
Away — Application