-
$ cat /etc/*release
-
$ find . -type f -not -name '*.rs' -print0 | xargs -0 rm
-
$ tar cfJ foo.tar.xz foo/ bar/
-
$ tar xfJ foo.tar.xz foo/ bar/
-
-
- #### Get the public ip ```bash $ dig +short myip.opendns.com @resolver1.opendns.com ``` or by ```bash $ dig TXT +short o-o.myaddr.l.google.com @ns1.google.com ```
-
- #### List all tcp ports with port number ```bash $ ss -nlt ``` - ##### List all ipv4 listening ports ```bash $ ss -4 -n state listening ```
-