Moderate

Which command is used to list out all the hidden files along with the other files ?

Correct answer: D. ls -a

  • A. ls -l
  • B. ls -x
  • C. ls -F
  • D. ls -a

Explanation

`ls -a` includes entries whose names begin with a dot, so it shows hidden files along with ordinary files. The `-l` option gives a long listing but does not itself include hidden entries.

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