| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Which option is used with gzip command to check compression ratio for files?

Correct Answer is : -l

2. We can provide original filenames without .gz extension while checking compression ratio using gzip – l?

Correct Answer is : TRUE

3. Which option is used with gzip command for recursive compression?

Correct Answer is : -r

4. Which of the following is used for decompressing files?

Correct Answer is : gunzip

5. We cannot uncompress files using gzip.

Correct Answer is : FALSE

6. We can provide multiple filenames as arguments to gunzip.

Correct Answer is : TRUE

7. Which of the following is a better agent than gzip?

Correct Answer is : bzip2 and bunzip2

8. Which of the following is an archival program?

Correct Answer is : tar

9. Which of the following key options is used with tar to create an archive?

Correct Answer is : -c

10. To create an archive named abc.tar consisting of two files, file01 and file02, which of the following command will be used?

Correct Answer is : tar -cvf file01 file02 abc.tar

11. Which command will be used for extracting files from an archive named abc.tar?

Correct Answer is : tar -xvf abc.tar

12. Which of the following command is used for viewing the attributes of contents of an archive?

Correct Answer is : tar -tvf abc.tar

13. Which option is used by tar to append files to the end of an archive?

Correct Answer is : -r

14. Which command is used for compressing and archiving files together?

Correct Answer is : zip

15. For using zip command, the first argument should be a compressed filename.

Correct Answer is : TRUE

16. For recursive compression, zip uses -r option.

Correct Answer is : TRUE

17. Which command is used for unzipping files which are compressed using zip command?

Correct Answer is : unzip

18. If the uncompressed file already exists on disk, unzip asks for the user confirmation whether to replace the existing file or not.

Correct Answer is : TRUE

19. Which option is used with unzip command to view the contents of a compressed archive?

Correct Answer is : -v

20. zip and unzip can perform each and every function that is performed by gzip, gunzip and tar.

Correct Answer is : TRUE