Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. [ BACKUP.cpio] Which of the following statement about CPIO is correct? cpios name is derived from the phrase copy in and out, it compresses

1. [BACKUP.cpio] Which of the following statement about CPIO is correct?

cpios name is derived from the phrase copy in and out, it compresses the file, and the resulting archives are compressed.

Cpio reads file and directory path names from its standard input and writes the resulting archive byte stream to its standard output.

the resulting cpio archive is a sequence of files and directories concatenated into multiple archive.

the file name of an archive is usually given the file extension gz

2. [BACKUP.cpio] Suppose your current directory is /bin, you want to put all commands starting with d to an archive file under your home directory (suppose it is /home/CSI3660).

To achieve this goal,your command should be like:

$ find d* | cpio i > /home/CSI3660/archive.cpio

$ find d* | cpio o > /home/CSI3660/archive.cpio

$ find d* | cpo > /home/CSI3660/archive

$ find d* | cpio o > /home/CSI3660/archive.gz

3. [BACKUP.cpio] In the scenario of above question, suppose you want to read the archive from its standard input and recreate the archived files under your home directory, the command should be:

cpio ov < archive.cpio

cp iv < archive.cpio

cpio iv < archive

cpio iv < archive.cpio

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

Define workplace ergonomics.

Answered: 1 week ago

Question

How to reverse a Armstrong number by using double linked list ?

Answered: 1 week ago