Language Selection

English French German Italian Portuguese Spanish

Backing Up and Restoring Using the cpio Command in Linux and Unix

Filed under

The cpio command is one of the most commonly used Linux back up tools.

The cpio command has two unusual features

Unlike tar , in which the files to back up are typed in as part of the command, cpio reads the files to work with from the standard input (in other words, the screen).

This feature means that cpio must be used as part of a multiple command or with a redirection pipe. Examples of this usage are shown in the tables below.

cpio must always be used with one of three flags. Flags are options that set the mode in which the command runs. Only one flag can be used at a time, and it must come before any other options. In addition, the choice of flags limits the options that can be used. Each flag also has a gnu option that can used in its place. The gnu option gives a convenient name for each flag: extract, create, and pass- through.

Read Full article here

More in Tux Machines

ONOS project, Linux Foundation form strategic partnership

The ONOS community hopes to expedite the advantages service providers can get from software defined networking (SDN) and network functions virtualization (NFV) by collaborating with the Linux Foundation in a strategic partnership. The partnership will help ON.Lab/ONOS "transform service providers' infrastructure for increased monetization by achieving high capex and opex efficiencies and creating new innovative services using the power of open source SDN and NFV," according to a press release. The Linux Foundation will assist ONOS to "organize, grow and harness the power" of a global community to take ONOS and the solutions enabled by it to the next level of production and readiness. Read more

Geriatric Linux: How an 'old geezer' came to terms with computers

Among the diverse things I found to read about was a relatively new but fast-growing computer operating system called Linux. It sounded fascinating: invented by a college student, developed by volunteers, used mainly by experts but available to amateurs; it appeared to defy not only the conventional business model, but the very concept of commercial software. Read more

These Are the 5 Best Android Phones

But this kind of high-powered mobile computing won’t work on just any old Google handset. Here are the five best Android phones available today, all of which are either rumored or confirmed to get Marshmallow. Read more

LibreOffice 5.0.3 to Bring GTK+, DOCX Fixes, and More

The Document Foundation has revealed that the first Release Candidate for the LibreOffice 5.0.3 branch has been released and is now available for download. Read more