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
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