linux 解压tar包

tar -xf settlement.tar   

Examples:
  tar -cf archive.tar foo bar  # Create archive.tar from files foo and bar.
  tar -tvf archive.tar         # List all files in archive.tar verbosely.
  tar -xf archive.tar          # Extract all files from archive.tar.
[root@xNZcKb185852 images]# ll
total 4716
drwxrwxrwx 2 www  www     4096 Nov  2  2017 cloub
-rwxrwxrwx 1 www  www     8788 Feb 24 14:49 default_90.png
-rw-r--r-- 1 root root   21081 Apr 17 14:29 homeIcon2.png
drwxrwxrwx 2 www  www     4096 Oct 28  2017 index
drwxr-xr-x 2 root root    4096 Apr 12 15:39 laqu
-rwxrwxrwx 1 www  www   270568 Feb 24 14:49 live-img.png
-rwxrwxrwx 1 www  www   419584 Feb 24 14:49 new-icons.png
-rw-r--r-- 1 root root 4052992 Apr 29 22:00 settlement.tar
-rw-r--r-- 1 root root   12439 Feb 24 14:49 suspend.png
drwxrwxrwx 2 www  www     4096 Nov 17  2017 task
drwxrwxrwx 5 www  www     4096 Dec 20  2017 uc
drwxrwxrwx 2 www  www     4096 Oct 26  2017 weixinapp
[root@xNZcKb185852 images]# tar -xf settlement.tar
[root@xNZcKb185852 images]# ll
total 4720
drwxrwxrwx 2 www  www     4096 Nov  2  2017 cloub
-rwxrwxrwx 1 www  www     8788 Feb 24 14:49 default_90.png
-rw-r--r-- 1 root root   21081 Apr 17 14:29 homeIcon2.png
drwxrwxrwx 2 www  www     4096 Oct 28  2017 index
drwxr-xr-x 2 root root    4096 Apr 12 15:39 laqu
-rwxrwxrwx 1 www  www   270568 Feb 24 14:49 live-img.png
-rwxrwxrwx 1 www  www   419584 Feb 24 14:49 new-icons.png
drwxrwxrwx 3 root root    4096 Apr 29 21:49 settlement
-rw-r--r-- 1 root root 4052992 Apr 29 22:00 settlement.tar
-rw-r--r-- 1 root root   12439 Feb 24 14:49 suspend.png
drwxrwxrwx 2 www  www     4096 Nov 17  2017 task
drwxrwxrwx 5 www  www     4096 Dec 20  2017 uc
drwxrwxrwx 2 www  www     4096 Oct 26  2017 weixinapp
[root@xNZcKb185852 images]# 

 

你可能感兴趣的:(http)