I have a problem to run scripts: The command i'm used to use, './<scriptname>' always turns me: >scriptname> is not a directory. What's wrong there? Or, what am i doing wrong?
TIA
[SOLVED] problem executing scripts
[SOLVED] problem executing scripts
Last edited by jsfarinet on 21. Nov 2016, 16:48, edited 1 time in total.
Re: problem executing scripts
Is the script executable?
Code: Select all
$ chmod +x <scriptname>
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
Re: problem executing scripts
Yes.laprjns wrote:Is the script executable?
Code: Select all
$ chmod +x <scriptname>
Re: problem executing scripts
Where is that script located? Post the output of
and
Code: Select all
mount
Code: Select all
file yourscript
Re: problem executing scripts
I do not know exactly why, but now it works. May be i did not make it executable in the right way (?)