Skip to content

UGC NET CS 2018System Software and Operating System › Linux Operating SystemsVerified

UGC NET CS 2018 PYQ: Which UNIX/Linux command is used to make all files and sub-directions in the directory "progs" executable by…

Which UNIX/Linux command is used to make all files and sub-directions in the directory "progs" executable by all users?

  1. A
    chmod - R a + x progs
    Correct answer
  2. B
    chmod - R 222 progs
  3. C
    chmod - X a + x progs
  4. D
    chmod - X 222 progs

Answer

(A) chmod - R a + x progs

Approach

Use recursive chmod with symbolic mode to add execute permission for all users.

Reviewed by UGC IQ Editorial Team.