This is really essential sometime, we want to check the syntax and validate our script rather then running it upfront.
Debugging Options set -o Option Command-line Option Action
noexec -n Don't run commands; check for syntax errors only
verbose -v Echo commands before running them
xtrace -x Echo commands after command-line processing
$bash -n myscript.sh
$/bin/sh -nv myscript.sh
Effective Time-management and Time-boxing is a concern for 'always ready people'. Being from a background that I am from, I am...
( A story on - how we formulated a process around measuring and achieving CICD, and how these journey lines has now become a means t...
Have you come across a situation when you need to reset the root password of a XEN virtual box. Logon Host machine run following command to...
I had to handle a recent escalation where /var reportedly got filled up - Someone with 'dbuser' userid deleted /var/log/message file...