debug a linux script

when running a script in linux be sure to run it like this:

# sh -x /root/Dropbox/jobs/backupwordpress.sh

Notice the sh -x. This is what allows you to see what’s going on in the job

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.