Moderate

Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file ?

Correct answer: A. ls -F -x

  • A. ls -F -x
  • B. ls -l
  • C. ls ~ x
  • D. Ip

Explanation

The -x option arranges names across rows in multiple columns, while -F appends markers such as / for directories and * for executable files. Therefore, ls -F -x provides both requested features.

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