linux command-tar

tar -czvf /etc/shadow.tar.gz /etc/shadow # Compress the / etc / shadow file to /etc/shadow.tar.gz

Note that -fbehind the need to keep the new compressed file name, followed by the talk of the need to package a file name, and order other commands are different.

Guess you like

Origin www.cnblogs.com/call-me-dasheng/p/12683616.html