Moderate

What command is used to change the working directory ?

Correct answer: D. cd

  • A. cdir
  • B. chdir
  • C. changedir
  • D. cd

Explanation

cd changes the shell's current working directory, for example cd /var/log. chdir is a related library function or alias in some environments, but cd is the standard Unix shell command.

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