Site icon T4Tutorials.com

Advanced Operating System MCQs

1. : To append files to the end of an archive, what option does tar use?

(A) -t


(B) -c


(C) -x


(D) -r



2. : To view the attributes of contents of an archive, what command do we use?

(A) tar -tvf abc.tar


(B) tar -cvf abc.tar


(C) tar -xvf abc.tar


(D) tar -t abc.tar



3. : With tar, for creating an archive, what key option do we use?

(A) -c


(B) -x


(C) -t


(D) -f archive name



4. : For creating an archive named abc.tar consisting of two files, file01 and file02, we use the command:

(A) tar -cvf abc.tar file01 file02


(B) tar -cvf file01 file02 abc.tar


(C) tar -cv abc.tar file01 file02


(D) tar -c abc.tar file01 file02



5. : To view the contents of a compressed archive, what option do we use with the unzip command?

(A) -v


(B) -t


(C) -c


(D) -x



6. : For compressing and archiving files together, what command do we use?

(A) gzip and tar


(B) gzip


(C) bzip2


(D) zip



7. : To extract the files from an archive named abc.tar, what command do we use?

(A) tar -xvf abc.tar


(B) tar -cvf abc.tar


(C) tar -tvf abc.tar


(D) tar -t abc.tar



8. : To unzip the files which are compressed using the zip command, what command do we use?

(A) gunzip


(B) gzip


(C) unzip


(D) guzip



Exit mobile version