[Xastir] script files

Tate KA7O ka7o at casperarc.net
Tue Mar 7 13:02:50 PST 2017


Of course, my previous assumes permissions are correct for your script.

On Tue, Mar 7, 2017 at 2:02 PM, Tate KA7O <ka7o at casperarc.net> wrote:

> Pathing.
>
> Linux does NOT do like Windows and search the current directory for
> commands.
>
> You can run "echo $PATH" to see what your environment's path is set to.
>
> If you run 'pwd'  you see where you are, currently. Possibly /home/<user>
>
> I assume your scripts are located in "/usr/local/share/xastir/scripts/"
>
> Problem is, that script location is not in your systems 'Path' variable.
> So, you can either add it to your path, or be explicit when giving your
> commands.
>
> Two ways to do this:
>
> 1) Give the full path with the command: "/usr/local/share/xastir/scripts/
> get-fcc-rac.pl"
>
> or
>
> 2) if you're currently in a directory that contains the command/script
> (test with ls),
> then use: "./get-fcc-rac.pl" (note the dot, slash at the beginning)
>
> "./" tells the interpreter to find the following command in the current
> directory.
>
>
> On Tue, Mar 7, 2017 at 1:44 PM, <kf4kul at gmail.com> wrote:
>
>> I did a totally new install from git, but for some reason I can’t run the
>> get-“script files”, like get-NWSdata, get-fcc-rac.pl, etc.
>> This is what I do:
>>   sudo get-NWSdata
>> responds from the system “command not found.
>> I know about the NWS has changed from http tp https, I changed the URL,
>> already
>> Any help would be appreciated , thanks Udo (KF4KUL)
>>
>>
>>
>> _______________________________________________
>> Xastir mailing list
>> Xastir at lists.xastir.org
>> http://xastir.org/mailman/listinfo/xastir
>>
>
>
>
> --
> Casper ARC - W7VNJ
> www.casperarc.net <http://casperarc.net>
> <http://wyominghamcon.org>
>



-- 
Casper ARC - W7VNJ
www.casperarc.net <http://casperarc.net>
<http://wyominghamcon.org>


More information about the Xastir mailing list