Re: Writing scripts in Linux
- From: Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 21 Oct 2007 20:44:18 -0400
Rich Leitner <Rich@xxxxxxxxxxxxx> writes:
On Mon, 15 Oct 2007 09:32:33 -0400, Dan Espen wrote:
Cisco_King <dineshaggarwal@xxxxxxxxx> writes:
....blatant attempt to increase hits to his own website deleted ...
Really?
Learn to write scripts as root,
what a concept.
Lots of errors there too.
Okay, I'm a bit new to shell scripting but learning. What's wrong with
writing a shell script as root so long as the script does not have root
privileges itself?
Unless you are perfect, your scripts will have errors.
If you write and test them as root, the simplest coding error
could wipe your whole system.
Write scripts as a regular user and never test scripts with live
data. Only after you are sure it is working do you run it with
live data or as root.
.
- References:
- Writing scripts in Linux
- From: Cisco_King
- Re: Writing scripts in Linux
- From: Dan Espen
- Re: Writing scripts in Linux
- From: Rich Leitner
- Writing scripts in Linux
- Prev by Date: Re: Writing scripts in Linux
- Next by Date: Re: Writing scripts in Linux
- Previous by thread: Re: Writing scripts in Linux
- Index(es):
Relevant Pages
|