Debugging Shell scripts

You can set your shell script excution verbose mode either by adding line set -vx at the begining of script or sh -x script_name.

#!/bin/sh
set -vx
date

Leave a Reply

You must be logged in to post a comment.