I have written a script and included the command
to see what happening when i run the script.
I want to redirect the output of set -x to a file
however the above command does not work.
this command only redirects the output of echo commands not of set -x
Please suggest a solution to redirect the output of this command to a file.