How to create a link to a program to launch it in terminal in Solus OS Linux

Written by Administrator on Tuesday April 7, 2020

Just imagine you have installed a program and want to launch it in terminal with just the name of the program.

For example, I have downloaded a PaleMoon browser and not it's stored in:

$ /home/edustorage/Downloads/palemoon/palemoon

To launch this program, I have to go to :

$ cd /home/edustorage/Downloads/palemoon

and run a command:

$ sudo ./palemoon

and this is not comfortable, but there's a solution: we can make a link from /home/edustorage/palemoon/palemonn to /usr/bin/palemoon :

$sud o ln -s /home/edustorage/Downloads/palemoon/palemoon /usr/bin/palemoon

and now we can launch a Pale Moon browser (for us: just like every application in windows) just running a command "palemoon" regardless in which directory we are at the moment.

Category: linux Tags: solus ln linking palemoon