Unix - Section 2 Multiple Questions and Answers.




16.The chmod ugo+rw note command can be represented in octal notation as
A. chmod 555 note
B. chmod 666 note
C. chmod 444 note
D. chmod 333 note

17.Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file?
A. ls -F -x
B. ls -l
C. ls ~ x
D. Ip

18.Which command is used with vi editor to search a pattern in the forward direction?
A. /
B. ?
C. //
D. ??

19.Which of the following commands is used to assign executable permission to the owner of the file named "note"?
A. chmod g+x note
B. chmod u+w note
C. chmod u+x note
D. chmod ugo+x note

20.The command to count the number of files in the current directory by using pipes, is
A. ls | wc
B. ls -l | wc -l
C. ls | wc -w
D. ls | ws -c

«»



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