Here is a
close solution:
Try creating a variable in your ~/.bash_profile
Note: ~ is a variable for your home directory
make it look something like this
Code:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
dvdrom= /media/dvdrom
PATH=$PATH:$HOME/bin:/sbin:/usr/sbin:/usr/local/sbin
export PATH dvdrom
unset USERNAME
Then logout and back in and test it. the only thing is you will have to use
You may be able to use alias command to get rid of having to use the "$"
I hope that's close to what you're looking for.