Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to link the path to the file /opt/lampp/lampp to the word lampp in openSUSE. So I can simply type lampp start instead of /opt/lampp/lampp start Is this possible? If so, how?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Three possibilities: either, make an alias:

alias lampp=/opt/lampp/lampp

or, add /opt/lampp to your PATH:

PATH=$PATH:/opt/lampp

or, make a link to your bin (and add this bin to your PATH):

ln -s /opt/lampp/lampp $HOME/bin/
PATH=$HOME/bin:$PATH
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.