Moderate

Which command is used to list all the files with extension .lst ?

Correct answer: A. ls -l *.lst

  • A. ls -l *.lst
  • B. ls lst*
  • C. ls *.*
  • D. ls *[lst]

Explanation

The wildcard `*.lst` matches names ending in `.lst`, and `ls -l` lists those matches in detailed form. The other patterns do not specifically select the `.lst` extension.

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