For my own reference…
Remove Directory:
rm -rf /var/www/[folder name]
Copy folders
cp -r /home/radmin/[to be copied] /var/www (www is the destination)
Make Directory
root/var/www/[folder name]
MySQL commands…
Login:
mysql -u [user] -p
Restore Database (before logging into MySQL)
mysql -u [user] -p [db name] < /home/radmin/abc.sql
Leave a Reply