Linux & Sysadmin openstack and kvm journal

by Michał Błaszczak

Not everyone knows that kill command can also stop the process, which might be helpful if You're compiling something big during the day and disrupt other services on the same host.

To stop process gently use:

kill -TSTP pid

If it doesnt work use:

kill -STOP pid

To resume the process:

kill -CONT pid

After suspension, process is still visible in the ps aux but it's not consuming resources.

Hi folks,
Here is the quick fix to the apache permission denied error:

Go to users public_html folder and do this:

find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;

Another useful tool to find and replace string in all files in subdirectories.

find . -type f -exec
sed -i 's/foo/bar/g' {} +