Bash cheats
- locate full commandline of a process
ps aux | egrep [c]loud-drive-daemon | awk '{print $11}'
- kill a process by name
kill $(ps aux | egrep '[n]ame.py'| awk '{print $3}')
- check if process is running
if [[$ps aux | egrep '[c]loud-drive-deamon' =~