adplus-dvertising
frame-decoration

Question

What does the following command do?

$ chmod ugo +w file01.txt

a.

assign write permission to users, group and others

b.

assign write permission to the user (owner) only

c.

assign write permission to group and others

d.

command not executable

Posted under UNIX

Answer: (a).assign write permission to users, group and others

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the following command do? $ chmod ugo +w file01.txt

Similar Questions

Discover Related MCQs

Q. Which character is used to replace ‘ugo’ string in chmod command?

Q. Which command is used to change the group owner of the file?

Q. A user can change the group ownership of a file to another group to which he does not belong.

Q. Like chmod, chown and chgrp can also use ___ option.

Q. UNIX allows the system administrator to use only chown to change both owner and group

Q. Which symbol is used to change permissions for hidden files?

Q. A hard-linked file is assigned the same inode number as the original value.

Q. If we want to link files across the file systems, we have to use only soft links.

Q. The default permissions for a regular file are ____ and for directories are ____.

Q. We can change the default permission set for files and directories using ______

Q. Which command is used to change timestamps associated with a file?

Q. When touch command is used without any options or expression, both times are set to current time and the file is created if it doesn’t exist.

Q. Which option is used with touch command to change the time of last file modification?

Q. -a option is used with touch command to alter the time of last access.

Q. When touch command is used without any option but with an expression, which of the following timestamps are changed?

Q. What will be the output of the following command?

$ find / -name a.out -print

Q. We can use relative pathname in the path list while using find command.

Q. Which one of the following option is used for locating the files by inode number?

Q. Which option is used with find command for specifying the file type?

Q. To specify permissions while using find command we have to use _____ option.