Restoring the files using cpio
A user must move to the respective directory where the files are to be restored.
Practice
Let's consider the given example describes how to restore the files under home directory.
#cd /home
# cpio -ivc </dev/fd0
test test1 test2 test3
2 blocks
In the example, i represent (copy in) Extracts files from the standard input that is assumed to be the product of a previous cpio -o. Just files with names which match the wildcard patterns are chosen, v shows list the files processed, or with -t, provides an 'ls, l displays style table of contents listing, here c means for portability, write header data in ASCII Character form. Always use this option whenever the origin and destination machines are of variant categories >/dev/fd0-Output is redirected from a floppy disk in the first drive.