- Backup a database
mysqldump -u Username -p dbname > anyname.sql
- Restore a database
mysql -u username database -p < databasefile.sql
- Backup a database
mysqldump -u Username -p dbname > anyname.sql
- Restore a database
mysql -u username database -p < databasefile.sql
Delete the .bash_history file: # rm -rf ~/.bash_history Clear the current history stored in...
#ipcs | awk '/^0x000000/ && /nobody/ {print $2}' | xargs -n1 ipcrm -s
CSF is great firewall for all linux based servers. For non-cpanel servers you'll need to install...
For open_basedir protection to work properly on cPanel servers running PHP in suPHP mode you'll...
#cd /usr/local/cpanel/whostmgr/docroot/cgi #wget -N...