Linux MCQ Questions MCQ
Question 126 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
What command do you use to delete a file?
rename | |
delete | |
rm | |
cp |
Question 127 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which of the following command lists the last 10 lines of a file?
grep | |
tail | |
head | |
cat |
Question 128 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
What command is used to terminate a process?
kill | |
cancel | |
haltsys | |
shutdown |
Question 129 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
What command is used with vi editor to delete three words?
3\$d | |
3 dw | |
3 x | |
3 dd |
Question 130 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
What command is used to assign only read permission to all three categories of the file'letter'?
chmod u + r, g + r, o - x letter | |
chmod ugo = r letter | |
chmod a - rw letter | |
chmod go + r letter |
There are 130 questions to complete.