Advanced

How to debug a Shell Script smartly

Posted by nixcraft on · Post a comment
nixCraft
Mail this story
Print this story

This article shows you how to write your shell scripts smartly to make them easier to test and debug. You can use traditional set command. There is drawback of using set command. Before moving a script to production environment you need to remove all debug lines. This tip shows you how to solve this old problem without introducing any new errors.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: GNU

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post