Useful linux commands

21/07/2013

Today I have been trying to work with Tor via AWS… I have installed Tor ok, it seems to be running, I am currently having issues connecting to the bridge from Vidalia.

So while trying to achieve this I’ve come across some cool Linux commands

htop – I use this ofter but thought I’d list it, as one of my favourites. It lists the current processes and system activity

ps – shows info on running processes

pstree – A layout of the process tree, good to check what’s running

netstat– a list of what’s connected to the network

pgrep ProcessName – searches through the list of running processes, and returns process id

kill ProcessID – kill process ID