answersLogoWhite

0

tar is one of the basic commands in Unix. tar command in unix is used for achriving purpose, you can create archive, update or extract from archieve using tar command in unix.you can also create compressed archieve by combining bzip2 and gzip along with unix tar command

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Where can one learn more about Linux's TAR command?

The TAR command is Create Tape ARchives and is used by Linux and Unix. Information and explanations can be found on the linfo and computerhope websites.


How do you open targz files?

In linux command line : tar -zxvf /path_to_your_file/filename.tar.gz


How do you create a tar file from the command line?

in a linux machine : tar -cvf FileOrDirectory.tar FileOrDirectory # or to gzip it at the same time... tar -czvf FileOrDirectory.tgz FileOrDirectory


How do you extract a tar ball in Linux?

tar -xvf file.tar in the terminal.


What does the k command do in Linux?

k is not a standard command in Linux.


What is the command to turn on Linux?

There is no such command. Obviously, in order to enter a command into the prompt, Linux must already be on.


Which Linux command is equivalent to Windows' MD command?

In a Linux terminal, the command to create a new directory is: mkdir .


When pack command is used the original file size is reduced by?

There is no "pack" command in Linux. However, there are numerous compression and archival programs available for use."tar" is an archival program. It does no compression, but allows you to put multiple files into one."gzip" is a compression program. However, it can only compress one file. Used in conjunction with tar, it is just slightly better than the ".zip" format."bzip2" is another compression program with better compression ratios. Like "gzip," it is for compressing single files only. It is usually used in conjunction with "tar.""zip" and "unzip" are programs for the "ZIP" archive format. It performs both compression and archival.Answer:I'm not sure if this is an improvement to the above answer or not. As mentioned above, there is no "pack" command in Linux but, in addition to the excellent answer above, a compiled program may be 'stripped' in Linux with the 'strip' command and this will usually serve to reduce the binary file size. The Linux 'strip' command modifies the binary program's symbol tables.


How do you create archive file in UNIX or Linux Operating System?

For TAR archives, you use tar -cvf .


How do you create a tar a file?

in a linux machine : tar -cvf FileOrDirectory.tar FileOrDirectory # or to gzip it at the same time... tar -czvf FileOrDirectory.tgz FileOrDirectory


What Linux command sets a files permission?

In Linux the chmod command is used to set file permissions.


How directories can be imported and exported in Linux?

The usual way of copying or moving directories is to use the tar command. The resulting tar file (called a tarball) can also be compressed to save time in moving it to another system. To create a tar file for export, use a command such as: cd directory tar cvf export.tar . This will create a file called export.tar that contains all of the elements of that directory. You could also compress that tar file by: gzip export.tar Which creates an export.tar.gz file. Then, copy or move the file to another place or system. To import it: gunzip export tar if the file was compressed, then use tar to extract the contents: cd directory tar xvf export tar