Unix - Section 1 Multiple Questions and Answers.




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 newfile
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

«»



Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers