Hi,

"Well, if you are careful to link your binary staticly" 

Programmers (or atleast me) are very lazy, just to avoid any package
dependency, i use the full install option in FC / RH . ;-)

"Why is a shell script _always_ to be preferred over a binary"?

Sorry, let me correct, not a "Shell Script", but any script ..

Generally ... web masters or hosting providers dont allow us to
use/execute binaries on there servers, so a lot of task needs to be
ported on to "scripts" (Shell, perl, batch files, vbs etc) .

Also, the content of a binary cannot be reviewed without executing,
what if the loop goes forever, it will jst bring down the server etc.
but with a script ... you can see the codes, if there are no logical
errors, you can schedule them on your webservers.

Also, for security reasons, what if the executable carries out some
different job on your machine (shutdown -h now, reboot) ??

HTH

Rajiv

On Mon, 21 Feb 2005 09:36:48 +0530, Manas Laha
<[EMAIL PROTECTED]> wrote:
> 
> Rajiv Lodha wrote:
> 
> >You cannot "easily" port the binary to other os/distro's, there can be a
> >library / processor or gcc issue.
> >
> >Shell script can easily be ported to others distros !
> >
> >And moreover, a script is always preferred than a binary
> >
> >HTH
> >
> >
> Well, if you are careful to link your binary staticly, then all the
> necessary library code will be incorporated into the executable, and it
> can then run on any Linux system that supports ELF binaries, and that
> means almost any Linux running today. Of course, the executable will be
> relatively much larger.
> 
> Why is a shell script _always_ to be preferred over a binary?
> 
> - Manas Laha
> 
> *****************************************
> This Mail is Certified to be Virus Free.
> CIC Network Security Group, IIT Kharagpur
> *****************************************
> 
> --
> To unsubscribe, send mail to [EMAIL PROTECTED] with the body
> "unsubscribe ilug-cal" and an empty subject line.
> FAQ: http://www.ilug-cal.org/node.php?id=3
> 


-- 
Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world.

Albert Einstein

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to