Unix - Section 2 Multiple Questions and Answers.




11.Which command is used to print a file?
A. print
B. prn
C. pg
D. lp

12.Which command will be used with vi editor to replace single character under cursor with any number of characters?
A. s
B. S
C. a
D. i

13.Which of the following set options is used with vi editor to ignore case while searching for patterns?
A. ic
B. ai
C. sm
D. ts

14.Which command is used to list out all the hidden files along with the other files?
A. ls -l
B. ls -x
C. ls -F
D. ls -a

15.Which of the following commands is used to absolutely assign all permissions to the owner, read and write permissions to the group and only executable permission to the others of the file note?
A. chmod 761 note
B. chmod 671 note
C. chmod 167 note
D. chmod 4=rwx, g=rw note

«»



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