Add /usr/bin/firefox to your $PATH variable. When you type a program name into the shell, it searches the folders in that variable and stops when it hits the first one. Typically, it looks like this:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Possibly different. That's my Ubuntu system, this is my Gentoo system:
/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
This is my FreeBSD system:
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/*****/bin
What you need to do is add a line like
Code:
export $PATH = "/usr/bin/firefox:$PATH"
in your .bashrc.