Commonly used · Understanding the workspace
pwd:Show current location
Syntax
pwdExamples
pwdUsage and sandbox support
The absolute path starts with /; ~ represents your home directory.
Hands-on exercises
- Where are you now?Everyday
Related commands
lsList files and directoriescdSwitch working directorytreeObserve the directory structuremanQuery command manualhelpView support scoperealpathParse absolute pathswhichFind external command locationtypeIdentify built-in and external commandslocateFind a file in the indexupdatedbUpdate file indexpushdEnter the directory and push onto the directory stackpopdPop directory stackdirsShow directory stack