Unix Interview Questions - 8 | Snaprecruit.com
Unix Interview Questions - 8 | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
Unix interview questions part 8
Unix interview questions part 8
Back
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?
A. -l
B. -c
C. -e
D. -x
Show Correct Answer
Correct Answer is :
-l
2. We can provide original filenames without .gz extension while checking compression ratio using gzip – l?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
3. Which option is used with gzip command for recursive compression?
A. -c
B. -l
C. -d
D. -r
Show Correct Answer
Correct Answer is :
-r
4. Which of the following is used for decompressing files?
A. GZIP
B. gunzip
C. uncmp
D. cmp
Show Correct Answer
Correct Answer is :
gunzip
5. We cannot uncompress files using gzip.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
6. We can provide multiple filenames as arguments to gunzip.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
7. Which of the following is a better agent than gzip?
A. bzip2
B. bzip2 and bunzip2
C. bunzip2
D. allzip
Show Correct Answer
Correct Answer is :
bzip2 and bunzip2
8. Which of the following is an archival program?
A. arch
B. archive
C. ar
D. tar
Show Correct Answer
Correct Answer is :
tar
9. Which of the following key options is used with tar to create an archive?
A. -c
B. -x
C. -t
D. -f archive name
Show Correct Answer
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?
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
Show Correct Answer
Correct Answer is :
tar -cvf file01 file02 abc.tar
11. Which command will be used for extracting files from an archive named abc.tar?
A. tar -xvf abc.tar
B. tar -cvf abc.tar
C. tar -tvf abc.tar
D. tar -t abc.tar
Show Correct Answer
Correct Answer is :
tar -xvf abc.tar
12. Which of the following command is used for viewing the attributes of contents of an archive?
A. tar -tvf abc.tar
B. tar -cvf abc.tar
C. tar -xvf abc.tar
D. tar -t abc.tar
Show Correct Answer
Correct Answer is :
tar -tvf abc.tar
13. Which option is used by tar to append files to the end of an archive?
A. -t
B. -c
C. -x
D. -r
Show Correct Answer
Correct Answer is :
-r
14. Which command is used for compressing and archiving files together?
A. gzip and tar
B. gzip
C. bzip2
D. zip
Show Correct Answer
Correct Answer is :
zip
15. For using zip command, the first argument should be a compressed filename.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
16. For recursive compression, zip uses -r option.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
17. Which command is used for unzipping files which are compressed using zip command?
A. gunzip
B. gzip
C. unzip
D. guzip
Show Correct Answer
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.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
19. Which option is used with unzip command to view the contents of a compressed archive?
A. -v
B. -t
C. -c
D. -x
Show Correct Answer
Correct Answer is :
-v
20. zip and unzip can perform each and every function that is performed by gzip, gunzip and tar.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
Similar Interview Questions
Search for latest jobs
Find Jobs