Unix - Section 1 Multiple Questions and Answers.




56.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

57.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

58.Which of the following files will displayed by this command cat *ch*
A. patch
B. catch
C. .ch
D. All of the above

59.The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is:
A. 0
B. 755
C. 744
D. 555

60.If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use
A. tty ^c
B. stty intr ^c
C. stty echoe
D. stty echo ^a

«»



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