[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Understanding PATH$ variable



On 09/22/2019 05:00 PM, David Wright wrote:
On Sun 22 Sep 2019 at 16:31:22 (-0000), Curt wrote:
On 2019-09-22, Thomas Schmitt <scdbackup@gmx.net> wrote:

So to avoid the cd command with absolute path, you would have to give
the script address as absolute path:

   python /path/to/script/script.py


I make my local scripts executable and stick them in '/usr/local/bin'.

Yes, very appropriate for scripts that you (or others) frequently run,
but there are also scripts that are run infrequently, or where you
might not want to clutter your executable namespace with their names.
(A script called script.py would likely fall into the second category.)

EXPLICITLY the case.

Those are best placed elsewhere and not made executable.

Of course, we don't know anything about the OP's scriptS [sic], and
perhaps we never will.

See 1st paragraph of original post.


Cheers,
David.






Reply to: