↧
Answer by roaima for Root gets permission denied when executing commands from...
The underlying problem is the parse error on this line: hash1=$(md5sum dbPath/testdb.sql) | awk '{print $1}' which should almost certainly be hash1=$(md5sum dbPath/testdb.sql | awk '{print $1}') You...
View ArticleRoot gets permission denied when executing commands from script but not from...
I have a simple script that I'm using to sync a test environment for a couple of developers. It doesn't need to be any more complex than just taking a mysql dump, checking the hash over SSH, and then...
View Article