Command Ref

nohup – to run command from ssh in background, so after session the program will still live.

it is similar to nohup which allows processes to continue even after the ssh session has been closed.

Permission Stickyness
without group write permission
sudo chmod -R 2750 /home/demo/public_html

with group write permission

sudo chmod -R 2770 /home/demo/public_html/

Recursive Chmod Tricks
Recursively chmod only PHP files (with extension .php)
find . -type f -exec chmod ug+x {} \;

check disk space
df -Th

*** System restart required *** 
cat /var/run/reboot-required.pkgs
above code to find what package needs restarting.

ubuntu only install security update
sudo apt-get install unattended-upgrades
sudo unattended-upgrades

Leave a Reply

Your email address will not be published. Required fields are marked *