Create an alias to a desired directory to use within the Terminal [duplicate]
Open your $HOME/.bashrc
and append:
export GEANT=/home/geo/Geant4/geant4.10.00.p02-install/lib/Geant4-10.0.2
then run source ~/.bashrc
and now you schould be able to use it like this:
cd $GEANT
Just create a link in nautilus, and treat it as a normal folder. Terminal will go straight to it.