I guess it doesn't hurt to note that if "." isn't in your path then simply typing the 
command won't work regardless of its mode.  You will have to prepend the name of the 
script with "./"

J

-----Original Message-----
From: Lorenzo Prince [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 6:51 AM
To: [EMAIL PROTECTED]
Subject: Re: tiny quick newbie question


It is possible to type the name of the file and execute it.  This goes for .sh files 
as well as perl scripts.  Just 
remember that when trying to execute a .pl file (e.g. script.pl) you type at the prompt

script.pl

vor script.sh you would need to type

script.sh

Don't forget to type type the extension.  Extensions aren't used in Linux to determine 
if a file is executable like in 
w32.  The extension is just to let the user know what kind of a script it is, and it 
must be typed along with the rest 
of the file name at the prompt for it to execute.  HTH.

Lorenzo Prince
-- 
> No manual is ever necessary.
May I politely interject here: BULLSHIT.  That's the biggest Apple lie of all!
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to