Unix - Section 2 Multiple Questions and Answers.




21.Which of the following commands is used to get directory one level up?
A. cd
B. cd ..
C. cd/
D. chdir

22.Which of the following commands is used to count the total number of lines, words, and characters contained in a file.
A. count p
B. wc
C. wcount
D. countw

23.Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories?
A. rm *
B. rm -r *
C. rm all
D. rm *.*

24.Which of the following commands is used to change the working directory?
A. cd
B. changedir
C. chdir
D. cdir

25.Which of the following commands is used to view your file 24 lines at a time?
A. pg
B. cat
C. lp
D. /p

«»



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