GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
26. | Which of the following command lists the last 10 lines of a file? | ||
A. | grep | ||
B. | tail | ||
C. | head | ||
D. | cat | ||
27. | What command is used to terminate a process? | ||
A. | kill | ||
B. | cancel | ||
C. | haltsys | ||
D. | shutdown | ||
28. | What command is used with vi editor to delete three words? | ||
A. | 3$d | ||
B. | 3 dw | ||
C. | 3 x | ||
D. | 3 dd | ||
29. | 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 | ||
30. | What command is used to compare the files? | ||
A. | ccp | ||
B. | du | ||
C. | cmp | ||
D. | comp | ||