Unix - Section 1 Multiple Questions and Answers.




21.Which command is used to count just the number of characters in a file?
A. wc - 1
B. wc -c
C. wc -w
D. wc -r

22.Which of the following commands is used to list contents of directories?
A. ls
B. lp
C. dir
D. tar

23.Which command is used to display a file contents in octal form?
A. cd
B. od
C. of
D. oct

24.Which command will be used with vi editor to insert text to left of cursor?
A. s
B. S
C. a
D. i

25.In vi editor, forward search is performed using the command.
A. :pat
B. ?pat
C. /pat
D. All of the above

«»



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