Windows: open Start, type PowerShell, and select it. macOS: press Command + Space, type Terminal, and press Return. Linux: search the app menu for Terminal.
Command
pwdLine-by-line explanation
pwdmeans “print working directory”.- It displays the current folder’s full address.
Expected output
/home/mayaWindows PowerShell may display a path such as C:\Users\Maya.
Command
lsLine-by-line explanation
lsmeans list.- It shows names inside the current directory.
Expected output
Desktop Documents DownloadsPowerShell, macOS, and Linux all understand ls. Your names will differ.
Command
cd DocumentsLine-by-line explanation
cdmeans change directory.- The space separates the command from its destination.
Documentsis the folder to enter.
Expected output
(no output)A successful directory change is normally silent. Run pwd separately to confirm.