I store name.sh under C:\Documents and Settings\user when i type sh name.sh in Cygwin,
sh: testing.sh: No such file or directory
any help will be appreciated!
Is that the actual output? If so, it's looking for another script called
testing.sh needs to be in a directory listed in the
PATH variable, or you have to run it using a full path, e.g.
Also don't forget to make
testing.sh executable by running
chmod +x testing.sh.
If you're in C:\Documents and Settings\user when you're running it, try:
If you're not in that directory, you'll need to either change directory there or prepend the command with the location. Here's how to change directory to c:\documents and settings\user
cd /cygdrive/c/"Documents and Settings"/User
You can see which directory you're currently in with the following command, I believe: