In this tutorial we will take alook on how to create a symbolic link on linux based OS's for an application you are using frequantly by typing the name of it on your terminal.
What is Symbolic Links?
Symbolic links are customize shortcuts you created to make tour life easier when using your linux OS it can be used for any application on your OS. And it's easy to do.
Now we will lear how to a symbolic link
Step 1: Check your $PATH.
~$ echo $PATH
you must </usr/local/bin/> in your $PATH result in order to get to the next step.
Step 2: Create your Symbolic Link
Find the application your welling to create a symbolic link for. for this we will use PhpStorm
open your PhpStorm directory and go to bin/ folder your find phpstorm.sh copy the link for it.
~$ cd /PhpStorm/bin/
you will find phpstorm.sh
Now create the Symbolic link
~$ sudo ln -s /path/to/PhpStorm/bin/phpstorm.sh /usr/local/bin/phpstorm
Enter your user password:
Now your got a symbolic link for PhpStorm.
in order to check if it worked type in your terminal
and to see where is the symbolic link type
~$ ~$ cd /usr/local/bin/
your will see phpstorm there.
That's it for creating a symbolic link in linux OS's.
Now we will take alook on How to delete your symbolic link
It's easy to your type the following into your terminal
~$ sudo rm -r /usr/local/bin/phpstorm
That's it for this tutorial
like share and follow me @zaidjaber
Category: How To