adplus-dvertising
frame-decoration

Question

A file named file01 should be readable, writable and executable only by the user(owner). Which one of the following set of command will be used?

a.

chmod 700 file01

b.

chmod 000 file01

c.

chmod 477 file01

d.

chmod 777 file01

Posted under Unix File System UNIX

Answer: (a).chmod 700 file01

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A file named file01 should be readable, writable and executable only by the user(owner). Which one of the following set of command will be used?

Similar Questions

Discover Related MCQs

Q. A file has a permission set as 000 i.e. — — —. Can the file be deleted?

Q. A file has a permission set as 777 ie rwxrwxrwx but the directory permissions are 400. If the user tries to delete the file, will he be able to do it?

Q. Which command is used to change the ownership of a file?

Q. Which option is used for the recursive functioning of chmod command?

Q. Every file system has a directory structure headed by ____

Q. Every file is associated with a table which contains all possible information about a file, that table is called as _________

Q. Which of the following is not a content of inode?

Q. Which of the following is not stored in inode?

Q. Which option is used with ls command for knowing the inode number of the file?

Q. Two files can have a same inode number in the same file system.

Q. When we can access a file with multiple filenames, it is said that the file has multiple _____

Q. Which command is used to link a file with multiple filenames?

Q. Which option is used with ln command to create a soft link?

Q. Which command is used for locating files?

Q. The syntax of the find command is ____________

Q. Which symbol is used with find command for specifying arguments?

Q. Which of the following option is used with find command for taking action on selected files?

Q. -ok option is used with find command for seeking information before taking the action specified.

Q. Which library function is used for printing error messages?

Q. perror also uses error number to print the error messages.