answersLogoWhite

0

What is tar command in Linux?

Updated: 10/3/2023
User Avatar

Wiki User

12y ago

Best Answer

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

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

tar is a file archiving tool. It initially was short for "tape archive" back when they use tape drives to store data. Now it's more likely to be used for file archiving and is almost always used in conjunction with a compression utility like gzip(.tar.gz, .tgz), bzip2 (.tar.bz2), or uncommonly xz(.tar.xz)

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is tar command in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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


What does the k command do in Linux?

k is not a standard command in Linux.


How do you extract a tar ball in Linux?

tar -xvf file.tar in the terminal.


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 .


What Linux command sets a files permission?

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


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 is helo for Linux?

Nothing. Helo is not a recognized command in linux.