Multiple choice technology

Command to go to home directory without using absolute path

  1. cd .

  2. Cd ..

  3. cd -

  4. cd ~

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The ~ symbol is a shortcut for your home directory, so cd ~ navigates there. cd . stays in current directory, cd .. goes to parent (and has capitalization error), cd - goes to previous directory.