I'm working in Linux environment and want to know about tar and zip commands.
Which is more efficient – tar or zip? I also need to know the differences between the tar and zip commands. Can anyone explain them to me?
linuxtarunixzip
I'm working in Linux environment and want to know about tar and zip commands.
Which is more efficient – tar or zip? I also need to know the differences between the tar and zip commands. Can anyone explain them to me?
Best Answer
tar
only makes a single file out of multiple files, it doesn't do compression unless combined a compression program such asgzip
orbzip2
(which you can call from withintar
by using the-z
or-j
options, respectively).zip
combines both the archiving and compression in one program.