9 Linux Commands Cheat Sheet File Navigation Commands pwd Purpose: Print working directory Example: pwd Output: /home/user/documents ls Purpose: List directory contents Common options: ls -l: Long format listing ls -a: Show hidden files ls -h: Human-readable sizes Example: ls -lah cd Purpose: Change directory Usage: cd /path/to/directory: Go to specific directory cd ..: Go up one directory cd ~: …
Read More »