Computer Science - Unix

Exercise : Unix - Section 3
16.
Which command is used to assign only read permission to all three categories of the file 'note'?
chmod go+r note
chmod a-rw
chmod ugo=r note
chmod u+r,g+r,o-x note
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

17.
Which command will be used with vi editor to append text at end of line?
A
a
i
I
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

18.
The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has
executable permission only
write and executable permissions
both read and executable permissions.
both read and write permissions
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

19.
Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?
who | tee user.lst
who > user.lst
who >> user.lst
who < user.lste
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

20.
Which of the following shell's wildcards are used to match any number of characters including none?
[ijk]
[!ijk]
?
*
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.