Quantcast
Channel: David Thomas » linux
Browsing all 3 articles
Browse latest View live

Broken tab in ssh shell

I encountered an error on a shell I just purchase from an overseas supplier.  Whenever I pressed the tab key, I would get: -sh: <( compgen -d — ‘Am’ ): No such file or directory -sh: <( compgen...

View Article



Remote Backup Database and Directories

Here are some nifty commands to backup a directory: ssh user@host "tar zcf - /the/dir/" > filename.tgz And then to backup a database ssh user@host "mysqldump -u user -ppass --all-databases | gzip...

View Article

Plesk upgrade from PHP 5.1 to latest

Its quite simple actually – but I had to google for ages trying to find the answer. wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh yum upgrade php* mysql* Bear in mind this will do a...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images