View Single Post
Eismaus's Avatar
Posts: 31 | Thanked: 1 time | Joined on Oct 2007 @ Germany
#6
@ichmoimeyo Thanks for the links, i downloaded the file and i'll read it on my way to work tomorrow.

@dormant I had #!/bin/bash because my live-cd used this. I corrected it.

@paulh & @TA-t3 So i have to make the file executable first. And i could not save the script on the memory card. Ok, this i understand.
Saving the file in the MyDokuments wouldn't work too, would it?

But I'm not sure if i understand, what you mean with :
Originally Posted by paulh View Post
One other pitfall if you're used to DOS, the current directory is NOT part of the path searched for executables (for security reasons). So you need to specify a path to run the script even if it's in the current directory.

It can be a relative path, so this will do:

./somescript
Do i have to put the path into the script? or do i need it when i execute the script?

What i was trying to do. Save the skript as a file and execute it with a pen tab/klick.

Thanks again for the help!
Eismaus