Thanks for that reference. With the TechRepublic article to get me started then the StackExchange one to tell me why they thought I should put the PATH reference into /.profile, I understood much better what was going on. And now my PATH has the correct addition. And even better, I also got nginx serving the weewx web page over my home network today, too.
Thanks to everyone for taking the time to send me these helpful suggestions. I'm not sure if I'd call it a home run today - more like a base hit - bit certainly not a strike-out. All is well in Mudville tonight! David On Sat, 3 Nov 2018 at 20:28, Liz <[email protected]> wrote: > On Sat, 3 Nov 2018 10:08:36 -0700 (PDT) > David Beach <[email protected]> wrote: > > > Thanks so much. I was hoping it would be something fairly obvious to > > a Linux expert. > > > > From the dark days of MS-DOS, I remember we could set 'paths' on > > start up so that you would not have to explicitly type in paths every > > time we issued a command. Is there something that I can set so that > > when I boot up and log in as user 'pi' (my home directory > > is /home/pi) I can run wee_config (or other utility) by just typing > > the file name - without the extra stuff every time? And could I avoid > > having to be in the /home/weewx/bin directory *every* time? > > > > David > > Of course. > Add /home/weewx/bin to your path > > here's a tutorial on how to do that. > www.techrepublic.com/article/how-to-add-directories-to-your-path-in-linux/ > > When you have added /home/weewx/bin to your path you won't need to > write the full path to run wee_config, nor need ./ prepended to the > command. > > Be sure that user pi has the ability to run those commands or you will > need to run sudo wee_config > > Liz > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/Z5cQm_u1uOs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
