The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: set -x command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-02-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,184
Most of the "set" options can also be specified on the ksh command line.
The "set -x" parameter to ksh is a useful debug feature to print commands and their arguments when executing a ksh script.
FYI, "ksh -x script_name" is the same as "ksh script_name" with "set -x" in the script itself.