Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well, if the program did not install to one of the path's already, like in /usr/local or whatever.. its easier for you to just add the path of the program or where it resides in for the user..
you can edit the bash_profile or bashrc file's in the user's home directory...
A little correction to tricky's post, the files are .bash_profile and .bashrc (dot is mandatory in the front of these files, they are hidden files). For one time change you can use
export PATH=$PATH:/where/my/program/is and later you can add this line into .bash_ptofile file.
Originally posted by neo77777 A little correction to tricky's post, the files are .bash_profile and .bashrc (dot is mandatory in the front of these files, they are hidden files).
ok, so I am lazy and presume everyone knows that they are hidden..
Ttricky don't take it personaly, you know for some ppl if it's not there than there's something wrong with the system, etc they start asking again, I don't have these files and so on.
If you are talking about my question, in my experience with redhat it will create it by default but when I started using slackware I dont ever remember seeing it in my home dir at all.
I just want to know if thats normal or not.
nope slackware doesn't use those files or create them by default. i tend to make my changes in the /etc/profile , system wide defaults for all shells.. well, in most cases.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.