Betty is working in a Unix system, whose present working directory is /home/Betty/InfyMart/Items/Categories. Under the Categories directory, there are two subdirectories FoodProducts and BeautyProducts. Now she wishes to create an archive from the contents of BeautyProducts directory. Identify the correct command to achieve this

i) ls ./BeautyProducts | cpio -ov > archive_file

ii) ls -l BeautyProducts | cpio -ov -H tar -F archive_file

iii) ls BeautyProducts | cpio -ov -H tar -F archive_file

iv) ls ../Categories/BeautyProducts | cpio -ov > archive_file

i), ii), iii)

i), iii)

i), ii), iii), iv)

i), iii), iv)

Verified Answer
Correct Option - d

To get all Infosys Certified Unix Associate Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in