Which command allows you to navigate directly to your home directory?

Basic of linux unix MCQs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
Basic of linux unixsoftware-engineering-mcqs › basic-of-linux-unix
Published
9 Apr 2019
Last updated
28 May 2026

Browse all Basic of linux unix MCQs

Choose the correct answer

Explanation

Option A (cd..) moves up one directory level. Option B (cd /) takes you to the root directory. Option C (cd) without arguments returns you to your home directory. Option D (cd $HOME) also navigates to the home directory, but is not the exact command asked. Option E (cd ~/) is another way to reach the home directory but was not listed originally.

PakQuizHub — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.