Hello folks. I am new to this list, and pretty new to programming/scripting and Linux/Unix in general. So I beg your patience and your assistance. I have written a simple script that I want to execute as a cgi script called from a web page. When I run the code by copying and pasting it in an open shell session, it executes just fine, but when I try to execute it as a command within the shell or call it from a web page, it fails. The first line of my script is #!/bin/bash and I have tried to execute my script by typing: xxx.cgi I get bash: xxx.cgi command not found . xxx.cgi I get bash: .xxx.cgi command not found I have played fith file permissions on my script and have it set to SUID: -rwsr-xr-x I am not sure it my problem is script related or permissions related...or something else entirely. I wrote it in bash since bash seems to be the default shell. Any suggestions? Thanks. Vacme