On Thu, 2011-09-22 at 14:02 +0200, jdd wrote:
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 :-)
I was thinking in more general terms. Nonetheless, one should be careful of scripts pulled off the 'net. The name and the contents may not match. Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org