This last week, a security vulnerability in the Bash shell -- known as the "Bash Bug" or "ShellShock" -- was reported. This vulnerability could allow for executing code on a remote machine and, as such, fixing this security issue was a top priority.
Luckily, patches to resolve this vulnerability were created, tested […]
Almost everyone knows (or should know) the basic options in bash debug.
-v Print shell input lines as they are read.
-x Print commands and their arguments as they are executed.
Sounds easy right?
See the difference, a practical example, a simple and silly script to demonstrate this:
billy@sles:~/lab> cat bashdebug.sh