diff --git a/README.md b/README.md index e8e4d76..afcdb85 100644 --- a/README.md +++ b/README.md @@ -46,3 +46,29 @@ verificare le porte aperte TCP ```bash sudo lsof -nP -iTCP -sTCP:LISTEN ``` +## File compressi con i permessi e gli owner + +creare archivio +```bash +sudo tar -czvpf .tar.gz +``` +verificare le porte aperte TCP +```bash +sudo tar -xzvpf .tar.gz +``` + +Options: +``` +-c : Creates archive +-x : Extracts the archive +-f : creates archive with given filename +-t : displays or lists files in archived file +-u : archives and adds to an existing archive file +-v : Displays verbose information +-A : Concatenates the archive files +-z : compresses the tar file using gzip +-j : compresses the tar file using bzip2 +-W : Verifies an archive file +-r : updates or adds file or directory in already existing .tar file +-p : with permissions and ownership +```