Plesk Backup Problem Unable get daemon current status: Unable to create UNIX socket /usr/local/psa/tmp/agent-runner

In plesk (8.x) this error appear when I try to press on “Backup” button on a particular domain.”Unable get daemon current status: Unable to create UNIX socket /usr/local/psa/tmp/agent-runner.38023: Connection refused”

How to kill multiple tasks/scirpts

I guess most of you did face situtation where you type top and see a lots of unknown or mysterious scripts/utils running that take over top screen and your machine resources. most of the times these scripts (like the irc bots that I encountered) run via perl and disguise them selfs using names like : ...

Get notified when root logs in.

edit the file /root/.bashrc and add the following lines:

linux – automatic ftp

You automate ftp with the unix shell, all you need is a .netrc file which will contain the info for each server you want to connect to.

Unix: Find strings inside files and folders

The easyiest way is this: find {path} -type f -exec grep -l {string_to_search} {} \; in which you only replace {path} with the path you want to search , and {string_to_search} with the string you are looking for inside the files.

Checking if a server is under ddos attack

A quick and usefull command for checking if a server is under ddos is: netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n