Sunday, April 28, 2024
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 13129  / 2 Years ago, fri, july 15, 2022, 10:02:51

System utilities such as ls don't need to have the full path typed before executing them. However, to execute Netbeans, I have to type /home/chris/netbeans-7.0.1/bin/netbeans. How can I make it so that I only have to type netbeans?


More From » command-line

 Answers
1

An easy way is to place a link in /usr/local/bin:



sudo ln -s -T /home/chris/netbeans-7.0.1/bin/netbeans /usr/local/bin/netbeans


after that you can execute netbeans with:



netbeans &

[#40360] Saturday, July 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
steaocyte

Total Points: 345
Total Questions: 122
Total Answers: 121

Location: Spain
Member since Wed, Nov 23, 2022
1 Year ago
steaocyte questions
;