bash scripts and automation
I’m back with more basic questions…
As I have gotten more into Linux, I have installed various packages with success but have hit a snag every time. I don’t seem to be able to get things like directories to be defined in the profile to run.
For instance, I installed openvpn, and it resides in /usr/sbin, but if I try to run it fron anywhere but that directory, it doesn’t exist. I tried adding the directly to bash_profile, and when I do echo $PATH, it shows up, but I still can’t run it from anwhere else…
What am I doing wrong?
This leads onto the second question. Once I set certain things up, it seems like I have to update files to ensure they occur when I reboot the machine. Is there a list or procedure anywhere to tell me whn I make these changes, where I have to update the set up files for the setups to be initialized each time the server is re-booted?