I have some script in my $HOME/bin
folder.
When I access my machine remotely I can't use them and I can't understand
why. They work just fine when I'm in front of my remote computer.
I think it might have something to do with the .bashrc
file. The PATH
is set with
PATH=$PATH:$HOME/bin
export PATH
it seems correct to me though.
I have also tried to copy the file in the /usr/bin
folder logging out and in again,
but still I can't manage to use my script.
If I go in the ~/bin
directory and type ./myscript
the script work (it is just that I need to run it from different folders where I have some files to process).