GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
6. | Which command is used to remove a directory? | ||
A. | rd | ||
B. | rmdir | ||
C. | dldir | ||
D. | rdir | ||
7. | Which of the following keys is used to replace a single character with new text? | ||
A. | S | ||
B. | s | ||
C. | r | ||
D. | C | ||
8. | Which command is used to extract specific columns from the file? | ||
A. | cat | ||
B. | cut | ||
C. | grep | ||
D. | paste | ||
9. | Which command sends the word count of the file infile to the newfile. | ||
A. | wc infile >newfile | ||
B. | wc | ||
C. | wc infile - newfile | ||
D. | wc infile | newfile | ||
10. | Which of the following commands is used to display the directory attributes rather than its contents? | ||
A. | ls -l -d | ||
B. | ls -l | ||
C. | ls -x | ||
D. | ls -F | ||