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 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.

Reply via email to