Lesson 2 of 6
Navigation
Navigate your file system using simple commands. pwd shows where you are. ls lists files. cd changes directory. These three commands are 80% of what you need.
TERMINAL
# Show current location (Print Working Directory)
pwd
# List files and folders
ls
# List with details
ls -la
# Change directory
cd Documents
# Go up one level
cd ..
# Go to home directory
cd ~