Moderate

Which of the following command is used to go to home directory ?

Correct answer: C. cd

  • A. cd..
  • B. cd/
  • C. cd
  • D. cd HOME.

Explanation

Running `cd` without a directory argument changes to the current user's home directory. `cd..` and `cd/` are malformed or missing the required space, while `HOME` is normally referenced as `$HOME`.

Last updated

Practise Software Development Lifecycle

423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions