6. Which command is used to remove a directory?
A. rd
B. rmdir
C. dldir
D. rdir
E. None of the above
Advertisement
7. Which of the following keys is used to replace a single character with new text?
A. S
B. s
C. r
D. C
E. None of the above
Advertisement
8. Which command is used to extract specific columns from the file?
A. cat
B. cut
C. grep
D. paste
E. None of the above
Advertisement
9. Which command sends the word count of the file infile to the newfile.
A. wc infile >newfile
B. wc <infile >newfile
C. wc infile – newfile
D. wc infile | newfile
E. None of the above
Advertisement
10. Which command is used to remove the read permission of the file ‘note’ from both the group and others?
A. chmod go+r note
B. chmod go+rw note
C. chmod go-x note
D. chmod go-r note
E. None of the above
Advertisement
< PREVIOUS POSTDisk Operating System (DOS) - Section 3
NEXT POST >Unix - Section 2