Unix - Section 3 Multiple Questions and Answers.




16.The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has
A. executable permission only
B. write and executable permissions
C. both read and executable permissions.
D. both read and write permissions

17.Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?
A. who | tee user.lst
B. who > user.lst
C. who >> user.lst
D. who < user.lste

18.The command used to remove the directory is;
A. rmdir
B. rd
C. remove
D. rdir

19.Which symbol will be used with grep command to match the pattern pat at the end of a line?
A. ^pat
B. $pat
C. pat$
D. pat^

20.Which of the following commands is not the vi Input mode command?
A. rch
B. R
C. S
D. j

«»



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