This is really essential sometime, we want to check the syntax and validate our script rather then running it upfront.
Available Options:
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
Example:
$bash -n myscript.sh
$/bin/sh -nv myscript.sh
Enjoy!!!
DEBU
Subscribe to:
Post Comments (Atom)
RCA - Root Cause Analysis
An important step in finding the root causes of issues or occurrences that happen within a system or organization is root cause analysis (RC...
-
I worked with a start up employer where it happened that we got an email from out Top Boss! to block all google and yahoo cousins, to promot...
-
Why I started blogging... Well, this is the ultimate question I get asked when I tell people I started a blog! I have taken a lot of time to...
-
Storytelling is an innate human quality! We often do it to teach , influence and inspire... Indian Mytholog y is one of the richest element...
No comments:
Post a Comment