Linux Makefile Question:
Download Questions PDF

If user tries to remove (rm) a readonly file (444 permission), what will happen?
a) The file is removed successfully (and silently)
b) The rm command prompts for a confirmation, the command is successful upon confirmation
c) The rm command prompts for a confirmation, however the operation fails because of insufficient permissions
d) The rm command fails because of insufficient permissions

Makefile Interview Question
Makefile Interview Question

Answer:

b) The rm command prompts for a confirmation, the command is successful upon confirmation

Download Makefile Interview Questions And Answers PDF

Previous QuestionNext Question
The permission -rwSr-r- represented in octal expression will be:
a) 0777
b) 2666
c) 4744
d) 4644
What is the command to set the execute permissions to all the files and sub-directories within the directory /home/user1/direct:
a) chmod -r +x /home/user1/direct
b) chmod -R +x /home/user1/direct
c) chmod -f -r +x /home/user1/direct
d) chmod -F +x /home/user1/direct