Aggiorna README.md
This commit is contained in:
parent
0199183ceb
commit
81ac30234a
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
@ -46,3 +46,29 @@ verificare le porte aperte TCP
|
||||||
```bash
|
```bash
|
||||||
sudo lsof -nP -iTCP -sTCP:LISTEN
|
sudo lsof -nP -iTCP -sTCP:LISTEN
|
||||||
```
|
```
|
||||||
|
## File compressi con i permessi e gli owner
|
||||||
|
|
||||||
|
creare archivio
|
||||||
|
```bash
|
||||||
|
sudo tar -czvpf <nome>.tar.gz <folder>
|
||||||
|
```
|
||||||
|
verificare le porte aperte TCP
|
||||||
|
```bash
|
||||||
|
sudo tar -xzvpf <nome>.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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue