Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 I paste these lines into the shell, they work for that instance of the shell. When I restart the shell, I must repaste them. If I put them in ~/.bash_profile, they have no effect. If I put them into a file and run that file, it has no effect whatsoever. What am I doing wrong?
I'm using Fedora Core 2 if that makes any difference.
Thanks! That made the script commands work as I wanted (I also had to change my apostrophes to quotes). What is the best way to make the script run every time I open the console if I only want it to apply to my account?
If you put them in ~/.bash_profile they'll take effect the next time you log in. bash_profile is a good way to set variables to be available from any shell.
bashrc will only set variables for non-login shells, unless you have "source $HOME/.bashrc" in ~/.bash_profile