Putty has ability to copy-paste. In mcedit, hold Shift and select by mouse.
To paste – shift and right click.
***
chown -R admin:admin web/
chmod -R 777 /home/admin/domains/domain_name/public_html/folder/
find /home/backup* -mmin +1 – exec rm {} \; (remove files older than #minutes)
List files by owner and chmod:
ls -l | sort -k3,3
Download files between VPSs:
Go to desired folder.
curl -k -u root:pass sftp://idrv.ru//root/test.txt -o test.txt
Upload file between VPSs:
Go to desired folder with file.
curl -k -u root:pass sftp://idrv.ru//root/ -T test.txt