I've just bought a new laptop - Dell Latitude E5570 - and am still trying to come to terms with its quirks. Installed Ubuntu 20.04.
I have all my scripts in a directory /home/keith/.bin and have changed the PATH to include it:
[email protected]:~$ echo $PATH
/home/keith/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
....and I've made the scripts executable. But when I type a script name I get a "command not found" error.
I've not had problems in the past as the process is so simple. Any ideas what I'm not doing?
Keith
I have all my scripts in a directory /home/keith/.bin and have changed the PATH to include it:
[email protected]:~$ echo $PATH
/home/keith/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
....and I've made the scripts executable. But when I type a script name I get a "command not found" error.
I've not had problems in the past as the process is so simple. Any ideas what I'm not doing?
Keith