cd

Practice cd from memory. cd with no argument jumps to $HOME. Equivalent to 'cd ~' - the shell falls back to the HOME variable when no target is g

Navigate home using bare `cd` - no argument, no tilde.

cd

cd with no argument jumps to $HOME. Equivalent to 'cd ~' - the shell falls back to the HOME variable when no target is given.

Safety: Preview paths and redirections before changing files or streams.

Move up one level to the parent directory.

cd ..

.. is the special directory entry that points to the parent. Chain them (cd ../..) to climb multiple levels in one command.

Safety: Preview paths and redirections before changing files or streams.

Switch back to the previously visited directory.

cd -

cd - jumps to the previous directory ($OLDPWD) and prints the new path. Great for toggling between two working dirs without retyping long paths.

Safety: Preview paths and redirections before changing files or streams.

Build the habit: BashDrill drills cd and the rest of the Bash workflow until the safe first move is automatic. Try a Bash drill.