------ Tar command linux solution of compression

Tar decompression

  Role: Unzip the archive called suffix of tar

  -f <backup file> or -file = <backup file> Specifies the backup file

  -v or -verbose display process execution instruction

  -x or -extract or -get restore files from the backup file

  -z or -gzip or -ungzip processing sub gzip command files

  -C <destination directory> or -directory = <destination directory> switch to the specified directory

tar -zxvf xxxx -C /usr/  

  Description: The solution to the compressed packet xxxx in / usr / directory.

Guess you like

Origin www.cnblogs.com/lojun/p/11236470.html