answersLogoWhite

0


Best Answer

tar cvf archive.tar *.txt

will create an archive called archive.tar with all the .txt files in the current directory.

tar cvzf archive.tar.gz *.txt

will create a compressed archive called archive.tar.gz

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are compression and archiving commands in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What do you mean by Linux Utilities?

utilities is nothing but predefined commands in linux


What is the difference between Compressing and Archiving?

Compression is used to make something smaller. Archiving is used for long term storage of something that's not often used anymore.


How many different commands are there for Linux?

Innumerable. Remember that any program on Linux can be launched from the command line, so there are as many commands as there are programs.


What are the Linux commands used by Oracle DBA?

ls


Explain Backup management commands in Linux?

There are no standardized commands for backing up a Linux system. Backup methods can range from dd to RAID to one of various backup utilities.


Are Linux commands entered via the command line case sensitive?

Yes. Just about everything to do with Linux on the command line is case sensitive, including commands and file names.


What are the common Linux commands by Oracle 10g?

Oracle 10g's commands are internal; they have nothing to do with what platform it is running on.


How do you find out what DOS Commands are available in Linux?

There is none. For starters, you have it backwards, DOS actually copied most of its commands from Unix (The rest came from CP/M.), which Linux is inspired by. Commands like "cd" and "dir" were Unix commands long before DOS even existed.


What is tar command in Linux?

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


How do you clear your command history in Linux?

You can view the history of commands entered on a Linux system with the history command.


How would one go about learning fdisk Linux?

There are many websites where one can learn about fdisk and many other Linux commands including Linux Help, Tuxfiles, Computer Hope, Linux Questions and Linux Solved.


Is the architecture of Linux based on DOS?

No. Linux is a free, open-source version of UNIX. Many of DOS's commands were based on UNIX commands, but the underlying operating system is much more powerful than DOS.