From ec4e650a5722d2800b23d3c81d836dfd3ab71ab4 Mon Sep 17 00:00:00 2001 From: Tung Leo Date: Wed, 14 Aug 2024 19:32:53 +0700 Subject: [PATCH] Add tar cmd (#42) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 578b0bd..2b9e22e 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,13 @@ netstat -anpt # Check system metric (CPU/RAM/...) top + +# Tar +tar -cvf sampleArchive.tar /home/sampleArchive + +# Extract +tar -xvf sampleArchive.tar +tar -xvf sampleArchive.tar.gz -C /home/ExtractedFiles/ ``` [Back to top 🔝](#cli-commands-reference)