In linux, tar command instance tar packaging is a very important command for server O & M, because many data backups need to be packaged first and then transmitted in scp or rsync, here we will introduce the basic commands of tar to help you review what commands you need to learn in mantarlinux. man... in linux, tar command instance tar packaging is a very important command for server O & M, because many data backups need to be packaged first and then transmitted in scp or rsync, here we will introduce the basic commands of tar to help you review what commands you need to learn in man tarlinux. only the advantages and disadvantages are good!
Option-c: create a new archive file-x: extract the file from the archive file-v: output the relevant information during the processing-z: call gzip to compress the archive, call gzip when connected to-x to decompress-f: use archive file or device ARCHIVE-C: change to directory DIR, which is used to specify extract directory example (1) compressed file (2) specify a directory and decompress it.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.