How do I tar a file in Linux?

Trung Minh

New member
How do I tar a file in Linux?
Answer
The procedure is as follows to tar a file in Linux:
  1. Open the terminal app in Linux.
  2. Compress an entire directory by running tar -zcvf file. tar. gz /path/to/dir/ command in Linux.
  3. Compress a single file by running tar -zcvf file. tar. …
  4. Compress multiple directories file by running tar -zcvf file. tar.
3 нояб. 2018 г.
 

Tìm kiếm

Back
Top