鏈結

All about CentOS

How to know the folder size in CENTOS
http://superuser.com/questions/631704/how-to-know-the-folder-size-in-centos

Common usage is : du -sh file(s) name(s) or du -sh /path/to/dir/*

How to delete all files of a directory in Linux?
http://www.linuxstall.com/delete-all-files-from-directory/
Method 1: Use rm command
$ rm /home/usr/dirname/*

or

$ cd /home/usr/dirname/
$rm *
How to count number of files in a directory
http://linuxcommando.blogspot.hk/2008/07/how-to-count-number-of-files-in.html

$ ls -1 targetdir | wc -l
Show Linux Current Working Directory in Terminal | Linux pwd Command
http://centosinfo.blogspot.hk/2012/11/linux-pwd-command-linux-working-directory.html

phpmyadmin directory in plesk

http://forum.parallels.com/showthread.php?43745-phpmyadmin-directory

backup location in parallel plesk

http://kb.parallels.com/en/6082

How to Restore Your Site Using a Backup Created in Plesk

Plesk 11.x Backup

  1. Log into your Control Panel.
  2. On the Home tab in the My Subscriptions panel select Manage Hosting. (If the correct domain isn’t listed, choose it from the drop down menu in the upper right.)
  3. Select the Websites & Domains.
  4. Select the Backup Manager.
  5. In the Backup Manager window you will see a section named Backups.
  6. Click the name of the backup to start the restore process.
  7. Once you have selected the backup in the Restoration Options.
  8. To restore just your site and database select Virtual host content & Databases; this will restore all of your settings and content.
  9. Click Restore to begin the restoration process.

 

https://support.powerdnn.com/kb/a257/how-to-restore-your-site-using-a-backup-created-in-plesk