Explanation of tar, Chemistry

Assignment Help:

The tar command was invented to backup directory trees to magnetic tape. The name is short for 'tape archive´. A directory tree is a branching structure, b ut a magnetic tape is a linear sequence of blocks of data. Ho wdoes tar store a complexdirectory tree in a sequence of records? Tardescends the tree, visiting each branch. As tar finds directories and files, it writes each, with its path, to the tap But, tar does not have towrite to tape; tar can write an archive inaregular disk file Later,torestore the backup from the archi ve,run tar to read the archi ve a nd use the path information to build the tree and create the files Tarhas three main functions: (a) create an archive,(b) extract the directories and files from an arch ve,and (c) list the table of contents of an archi ve.Tar includes other operations, buttheyare used much less often.

Tarisoften used to distribute software and data. Forexample, you can use tar to create an archive f le for a directory structure then email or scp the archive tosomeone else. That person can extract the data and have an accurate copyofthe tree structure, its contents, and the file attri utes of all the pieces. Forthis assignment, you will write a program to do the create operation. Youcan use regular tar to extract or list the files in the arch ve your program produces. In fact, you can test if your program works by seeing if tar can list and/or extract the files from the arch ve your program produces.


Related Discussions:- Explanation of tar

Bohr model of atom, Calculate velocity of electron in bohr first orbit of h...

Calculate velocity of electron in bohr first orbit of hydrogen atom

D block, mixture of sulphur carbon and kmno4 is named what

mixture of sulphur carbon and kmno4 is named what

Chemical analysis - qualitative analysis, Qualitative analysis A salt c...

Qualitative analysis A salt contains two parts defined as radicals. The positively charged part of a salt (cation) that has been derived from a base is known as basic radical a

Determine the calories, The Calorie, used to express food heat values, is s...

The Calorie, used to express food heat values, is similar as a kilocalorie of heat energy . If you eat a chocolate bar from the United States with 600 Calories of food energy, how

Combustion energies for the burning of 1 mol of propane, Measure the combus...

Measure the combustion energies for the burning of 1 mol of propane and butane gas in air under these conditions. Calculate the efficiency of the combustion process as a functi

Simple distillation - purification of organic compounds, Simple Distillatio...

Simple Distillation - Purification of organic compounds Distillation is the joint procedure of vapourisation and condensation. This method is employed for the purification o

Amine, Preparation method of Amine

Preparation method of Amine

Organic chemistry , Draw the important resonance contributors for the benze...

Draw the important resonance contributors for the benzenoium intermediate in the bromination of aniline and explain why ortho, para substitution predominates ?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd