Exercise: Linux

Questions for: Linux

What command is used to assign executable permission to the owner of the file named "letter"?
A:
chmod ugo + x letter
B:
chmod u + x letter
C:
chmod u + w letter
D:
chmod g + x letter
Answer: B
No answer description is available. Let's discuss.
What command is used with file named 'letter' to remove the executable permission from the user and assign read permission to the group and others?
A:
chmod go + x, u - x letter
B:
chmod g - x, uo + r letter
C:
chmod go + r, u + x letter
D:
chmod u - x, go + r letter
Answer: D
No answer description is available. Let's discuss.
What command is used to assign only read permission to all three categories of the file'letter'?
A:
chmod u + r, g + r, o - x letter
B:
chmod ugo = r letter
C:
chmod a - rw letter
D:
chmod go + r letter
Answer: B
No answer description is available. Let's discuss.
What command is used with vi editor to delete three words?
A:
3$d
B:
3 dw
C:
3 x
D:
3 dd
Answer: B
No answer description is available. Let's discuss.
What command is used to terminate a process?
A:
kill
B:
cancel
C:
haltsys
D:
shutdown
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz