Unix – Section 3

41. Which of the following commands is used to display the filenames in multiple columns?

A. ls
B. ls -1
C. ls -x
D. lc
E. None of the above

Correct Answer: C. ls -x

42. Which command is used with file named ‘note’ to remove the executable permission from the user and assign read permission to the group and others?

A. chmod u-x, go+r note
B. chmod go+r, u+x note
C. chmod g-x, uo+r note
D. chmod go+x, u-x note
E. None of the above

Correct Answer: A. chmod u-x, go+r note

Leave A Comment?

12 + fifteen =