| | | | MCQ Tutorial - Linux->Command | | | | 61.) What command do you use to delete a file? | | Options are: | | A.) cp
| | B.) rename
| | C.) delete
| | D.) rm
| | Correct Option: D | | | | | | | 62.) Which of the following command lists the last 10 lines of a file? | | Options are: | | A.) head
| | B.) tail
| | C.) cat
| | D.) grep
| | Correct Option: B | | | | | | | 63.) What command is used to terminate a process? | | Options are: | | A.) kill
| | B.) haltsys
| | C.) shutdown
| | D.) cancel
| | Correct Option: A | | | | | | | 64.) What command is used to assign only read permission to all three categories of the file 'test'? | | Options are: | | A.) chmod go + r test
| | B.) chmod 777 test
| | C.) chmod a - rw test
| | D.) chmod ugo = r test
| | Correct Option: D | | | | | | | 65.) What command is used with vi editor to delete three words? | | Options are: | | A.) 3 dd
| | B.) 3$d
| | C.) 3 x
| | D.) 3 dw
| | Correct Option: D | | | | | | | | | | | |