[root@centos7 src]# pwd /usr/local/src [root@centos7 src]# [root@centos7 src]# ls CentOS-7-x86_64-DVD-1804.iso
## /usr/local/src/ 에 iso 파일만 있음을 확인 [root@centos7 src]# cd /root/test [root@centos7 ~/test]# [root@centos7 ~/test]# ls backup.tar [root@centos7 ~/test]# [root@centos7 ~/test]# tar xvf backup.tar -C /usr/local/src backup lint.txt joon.c
## backup.tar를 /usr/local/src에 압축해제
[root@centos7 ~/test]# [root@centos7 ~/test]# cd /usr/local/src; ls backup CentOS-7-x86_64-DVD-1804.iso joon.c lint.txt
## /usr/local/src에 backup.tar에 압축되었던 backup, joon.c lint.txt 이 압축해제 된것을 확인
[root@centos7 src]# pwd
/usr/local/src
[root@centos7 src]#
[root@centos7 src]# ls
CentOS-7-x86_64-DVD-1804.iso
## /usr/local/src/ 에 iso 파일만 있음을 확인
[root@centos7 src]# cd /root/test
[root@centos7 ~/test]#
[root@centos7 ~/test]# ls
backup.tar
[root@centos7 ~/test]#
[root@centos7 ~/test]# tar xvf backup.tar -C /usr/local/src
backup
lint.txt
joon.c
## backup.tar를 /usr/local/src에 압축해제
[root@centos7 ~/test]#
[root@centos7 ~/test]# cd /usr/local/src; ls
backup CentOS-7-x86_64-DVD-1804.iso joon.c lint.txt
## /usr/local/src에 backup.tar에 압축되었던 backup, joon.c lint.txt 이 압축해제 된것을 확인