Click to See Complete Forum and Search --> : shell scripting errors with Storm/Debian


RedOctober
04-13-2001, 07:04 PM
I am trying to write shell scripts to run on my storm linux system. Here is just an example of a on liner script
#!/bin/bash
date
I chmod the file after saving as it, making it executable, however when I type the name of the file at the command line I get command not found. I have tried changing the shell to sh, even ksh but same error occurs.
Is there a trick to running shell scripts on Debian. I do shell scripts on Solaris systems all day at work with no problems....any advise????

nuff love

binaryDigit
04-13-2001, 08:15 PM
is it in your path? just to check switch to the directory that your script is in.
then execute it like this:

./some_script

if it still doesn't work then i'm not sure.