set - is used to set and unset certain flags or settings within the shell environment


syntax
$ set [options]  

To display a list of all system settings
$ set

To print help options
$ set --help

To turn on the debugging information in a shell script
$ set -x  
To turn off the debugging information
$ set +x    

To disable the default behavior of Bash
$ set -C

To stop a script immediately
$ set -e



regards,
T.Dhanasekar