Results 1 to 5 of 5
I want to add the following as a permanent alias
alias ffox=/usr/local/firefox/firefox
Possibly
alias ffox=/usr/local/firefox/firefox &
In BASH. But I dont know which file are these kept in. Thanks....
- 07-29-2004 #1Just Joined!
- Join Date
- Jul 2004
- Posts
- 2
Permanent alias
I want to add the following as a permanent alias
alias ffox=/usr/local/firefox/firefox
Possibly
alias ffox=/usr/local/firefox/firefox &
In BASH. But I dont know which file are these kept in. Thanks.
- 07-30-2004 #2
You can add it to your ~/.bashrc or ~/.bash_profile. Just add the whole alias line as these files are executed (as bash scripts) on login.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 08-09-2004 #3Just Joined!
- Join Date
- Aug 2004
- Location
- Earth
- Posts
- 4
Funny, I've seen these instructions before, but I can't find a .bashrc or .bash_profile file in my home directory or anywhere else on my system. Creating a blank one and adding the instructions doesn't do anything. I wonder if those files are kept somewhere else in Slackware?
- 08-09-2004 #4Linux Engineer
- Join Date
- Sep 2003
- Location
- Knoxhell, TN
- Posts
- 1,078
try adding the alias to /etc/profile
that's the file that is sourced by bash whenever *anyone* logs in...Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
- 08-09-2004 #5Linux User
- Join Date
- Jul 2004
- Posts
- 256
It's in your home directory (I'm using slackware) It is one of those files prefixed by a "." so they are "hidden"
Originally Posted by paulcox
Post your ~/.bashrc so we can take a look at it. Maybe there's a typo.--monkey


Reply With Quote
