Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - COMMAND-LINE User Manual Page 39

  • Download
  • Add to my manuals
  • Print
  • Page
    / 60
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 38
39
Debugging
The shell has a number of flags that make debugging easier:
sh -n command
Read the shell script but don't execute the commands. IE. check syntax.
sh –x command
Display commands and arguments as they're executed. In a lot of my shell scripts you'll see
# Uncomment the next line for testing
# set -x
See also:
http://www.linux.org/docs/ldp/howto/Bash-Prog-Intro-HOWTO.html
Page view 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 59 60

Comments to this Manuals

No comments