Linux MCQ Questions MCQ

Linux MCQ Questions MCQ

Question 126 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What command do you use to delete a file?
A
rename
B
delete
C
rm
D
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?
A
grep
B
tail
C
head
D
cat
Question 128 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What command is used to terminate a process?
A
kill
B
cancel
C
haltsys
D
shutdown
Question 129 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What command is used with vi editor to delete three words?
A
3\$d
B
3 dw
C
3 x
D
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'?
A
chmod u + r, g + r, o - x letter
B
chmod ugo = r letter
C
chmod a - rw letter
D
chmod go + r letter
There are 130 questions to complete.