Thursday, May 6, 2010

join splited *.001 ... file using 7zip

7zio cant iterate automatically through files
so use this simple bash script to get job done.

$for i in $(ls *.001); do (7z e $i) done;

this method can be used with rar,gz,tar.gz,tar.bz2 etc

list open ports and unix sockets

To do this I use netstat command to list all open ports: $ sudo netstat -tuplen to list open ports and unix sockets: $ sudo netstat -...