Category: Reference

Linux Cheatsheet

May 24, 2018

Last edit: 19 Aug 2018 General #Display OS $ uname -a #Delete GZip files older than 14 days $ find *.gz -mtime +14 -exec rm {} \; #mySQL dump $ mysqldump –opt -uUSERNAME -pPASSWORD -h HOSTNAME DATABASE_NAME FILENAME.sql Nginx /etc/nginx/sites-available #start nginx service nginx start #stop nginx service nginx stop #restart nginx service nginx restart…

Read more