option
- c : create ( 새로운 파일을 생성 ) - v : verbose ( 처리중인 파일을 자세히 보여준다 ) - f : file ( 파일 저장) - z : gzip (gzip으로 압축하거나 푼다)
|
Sample 1)
# tar cvfz /backup/backup_etc.tar.gz /etc
( File Name ) (Target DIR)
Sample 2)
# tar cvfz /backup/tar_conf_backup.tzr.gz test1.conf test2.conf
( File Name ) (files)
'Linux > RedHat, CentOS, ubuntu' 카테고리의 다른 글
Linux date 명령어 (날짜/시간 변경/전일구하기) (0) | 2019.04.23 |
---|---|
[ CentOS 7 ] cronolog 유틸을 이용한 Access Log 날짜별 적재 (0) | 2019.04.22 |
[ CentOS 7 ] iptables service install (0) | 2019.04.19 |
Linux 파일은 유지하면서 내용만 지우기 (0) | 2019.04.18 |
[ CentOS 7 ] Loop Back Adapter Configuration (0) | 2019.04.03 |
[ CentOS 7 ] systemctl 명령어 (0) | 2019.03.12 |
CentOS 7 hostname 호스트네임 변경 (0) | 2019.02.13 |
Centos influxDB 설치 (1) | 2018.12.30 |