Re: Writing scripts in Linux



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? There was very little about this in the 3 or 4 books I
have been using to learn shell scripting, so I'm wondering if I (or they)
missed something. No, I won't go to Dinesh's site that shall remain
nameless to find out! Thanks ...

Rich
.



Relevant Pages

  • Re: BrowseForFolder
    ... TomThumbKOP wrote: ... > works fine for files everywhere except for the root of c:\. ... it throws an Invalid Procedure or Function Call Error. ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.scripting.vbscript)
  • Re: login differences
    ... * logging in, then running "su" shows who became root. ... do mail and scripting, and esp. ... window where you're root. ...
    (comp.unix.solaris)
  • Re: Crit. Up. KB828026 Wont Quit. HELP
    ... root wrote: ... > Player Script Commands". ... I check WinUp again and it wants to do that same ... Microsoft MVP Scripting and WMI, ...
    (microsoft.public.windowsupdate)
  • Re: Start new process by root
    ... > Is there anyway (scripting) that root can start a process that will be ... #bofh excuse 47: Complete Transient Lockout ...
    (comp.unix.shell)
  • Re: A Different Shell Philosophy
    ... > What is also needed is GOOD books on script writing. ... The best book imho remains The Unix Programming Environment ... Robbins & Beebe's Classic Shell Scripting. ...
    (comp.unix.shell)