Article 54N3Y changes to $PATH don't persist

changes to $PATH don't persist

by
levelfourtwenty
from LinuxQuestions.org on (#54N3Y)
(Slackware)
I am trying to add /sbin and /usr/sbin to my $PATH but it isn't persisting. I have tried to fix this in two ways, the command "export PATH=$PATH:/sbin:/usr/sbin" and by editing my /etc/profile file. The first method never seems to persist and I have to redo it everytime I open a terminal window and the second has yielded no results, what am I doing wrong and how do I fix it? It may be useful to know that I am doing this as a regular user account.latest?d=yIl2AUoC8zA latest?i=XZstYesPvyA:pq32e5EHM80:F7zBnMy latest?i=XZstYesPvyA:pq32e5EHM80:V_sGLiP latest?d=qj6IDK7rITs latest?i=XZstYesPvyA:pq32e5EHM80:gIN9vFwXZstYesPvyA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments