GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
26. | What command is used to sort the lines of data in a file in alphabetical order? | ||
A. | sort - r | ||
B. | st | ||
C. | sh | ||
D. | sort | ||
27. | What command is used with vi editor to save file and remain in the editing mode? | ||
A. | x | ||
B. | q! | ||
C. | :w | ||
D. | :q | ||
28. | What command is used with vi editor to move back to the beginning of a word? | ||
A. | w | ||
B. | e | ||
C. | a | ||
D. | b | ||
29. | What command is used with vi editor to search a pattern in the forward direction? | ||
A. | ?? | ||
B. | // | ||
C. | ? | ||
D. | / | ||
30. | What command is used to add printing jobs to the queue? | ||
A. | lpd | ||
B. | lpr | ||
C. | lpq | ||
D. | lpc | ||