set -x command

hi all,

Please tell all the uses of set -x command.
Also can you tell about other options which can be used with set command.

Thanks:)
sumit

you can get it in your shells man page
like if you have korn shell type man ksh etc.....

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.

POSIX specification for set.