You have executed the following commands as the root user:
# find /home | cpio –o –H tar –F root@HostA: /dev/nst0 – – rsh –command = /usr/bin/ssh
What is the purpose of issuing this command?
A.
To archive the contents of the /home directory in the tar format to a remote host system’s tape
drive device /dev/nst0
B.
To archive the contents of the /home directory in the cpio format to a remote host system’s tape
device /dev/nst0
C.
To archive the contents of the /home directory in the cpio and tar formats to a remote system’s
tape drive device /dev/nst0
D.
To extract the contents of the /home directory from the tape drive device /dev/nst0
Explanation:
Note:
*The cpio command is one of standard Unix backup utilities. It stands for “copy in/out.” It is much
less well known and more rarely used Unix utility in comparison with tar.
*The cpio command is one of standard Unix backup utilities. It stands for “copy in/out.” It is much
less well known and more rarely used Unix utility in comparison with tar.
* -H format. Here tar
-o, –create Create the archive (run in copy-out mode)
-H, –format=FORMAT Use given archive FORMAT
-F, –file=[[USER@]HOST:]FILE-NAME
Use this FILE-NAME instead of standard input or
output. Optional USER and HOST specify the user
and host names in case of a remote archive
–rsh-command=COMMAND Use remote COMMAND instead of rsh