Unix - Section 3 Multiple Questions and Answers.




1.The File that contains a set of instructions which are performed when a user logs in, is
A. .exrc
B. .profile
C. .autoexec
D. autoexec.bat

2.The octal representation 652 indicates
A. Execute permission for the owner
B. Write permission for others
C. Read and write permission of groups
D. All of the above

3.Which of the following command is used to count just the number of lines contained in a file?
A. wc -l
B. wc -c
C. wc -w
D. wc -r

4.Which of the following command is used to go to home directory?
A. cd..
B. cd/
C. cd
D. cd HOME.

5.Which command is used to move all files to the bin sub-directory of the parent directory?
A. mv *.* /bin/
B. mv * /bin/*
C. mv * ../bin
D. mv * ../bin *.*

»



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