Question 29Asked in UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)

In Unix, the command to enable execution permission for file "mylife" by all is _____

  1. AChmod ugo + X myfile
  2. BChmod a + X myfile
  3. CChmod + X myfile
  4. DAll of the above
Show answerHide answer

Correct answer: (D) All of the above

Explanation

All three commands enable execute permission: X stands for execute and + adds the permission; ugo means user, group and others; a means all; with no class given, + applies it for all.

From UGC NET Computer Science PYQ, December 2015 (Paper II & III, Selected Questions)

This is question 29 of UGC NET Computer Science PYQ, December 2015 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.