Multiple choice technology operating systems

Which command always puts you in your home directory?

  1. home

  2. cd

  3. cd . .

  4. pwd

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

The cd command with no arguments defaults to changing to the user's home directory. This is a fundamental Unix/Linux shell behavior. Option A 'home' is not a valid command, 'cd ..' moves up one directory level, and 'pwd' only prints the current directory.