[100790] in RedHat Linux List
Re: Starting a Program Easily
daemon@ATHENA.MIT.EDU (brichardson@lineone.net (by way of)
Mon Nov 23 11:08:21 1998
Date: Mon, 23 Nov 1998 17:04:24 +0100
To: "redhat-list@redhat.com" <redhat-list@redhat.com>
From: brichardson@lineone.net (by way of \"Anthony E. Greene\" <agreene@pobox.com>)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Anthony E. Greene wrote to Kurt Harper:
>You could do this with a shell script, which is the *nix analog of batch
>files. But shell scripts are *much* more powerful that batch files.
To which I would add (because it's easy for those coming from DOS to Linux
to forget this) that shell scripts need no special extension but you MUST
remember to set the eXecute file permission. Also, in Linux the current
directory is not, by default, included in the path (for security reasons):
if you want to run a script that you just created in the current directory
then remember to put ./ in front of it's name.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.