Archive for September, 2009
Automating process killing…
Thursday, September 10th, 2009The one-liner: ps -ef | grep http_load | grep -v grep | awk ‘{print $2}’ | xargs kill The in-depth explanation: ps -ef | grep http_load lists all the processes with http_load in their name. That’s the processes I want to kill. grep -v grep removes from that process list the process which listed the [...]
To be organized later…
Tuesday, September 8th, 2009http://online.wsj.com/article/SB125200842406984303.html#articleTabs=article About data mining against criminals / terrorists
Cool little nmap command
Friday, September 4th, 2009Good for scanning systems, even with firewall up: nmap -sP -PT80 192.168.1.0/24
What interfaces are being loaded at boot?
Tuesday, September 1st, 2009dmesg | grep [driver] (This will also tell you the MAC addresses being used)