linux 解压tar包

2022-06-21 00:00:00 tar linux 解压

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 
    原文作者:易天海
    原文地址: https://blog.csdn.net/huawuque004/article/details/89683972
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。

相关文章