Mailinglist Archive: opensuse (818 mails)

< Previous Next >
Re: [opensuse] different types of shell scripts
Le 22/09/2011 13:20, Roger Oberholtzer a écrit :
On Thu, 2011-09-22 at 10:40 +0200, jdd wrote:

chmod +x filename.sh
./filename.sh

by the way, for a shell script, simply use "sh ./filename"

Of course that works. OTOH, if the script starts with, say,

#!python

if a filename.sh script runs python, it's pretty badly named :-)

jdd


--
http://www.dodin.net
http://pizzanetti.fr
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups