How to create symbolic link on Linux/Unix based OS's? #keefto

Zaid Jaber by Zaid Jaber
How to create symbolic link on Linux/Unix based OS's? #keefto

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/

~$ ls

 

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

 

~$ phpstorm 

 

and to see where is the symbolic link type 

 

~$ ~$ cd /usr/local/bin/

~$ ls 

 

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

Comments (0)

Read More

How to enable dark mode... omg For while now most of companies are going forward with enabling...
How to create a bootabl... omg In this article we will take a look on how to create a bootable...
lHow to install TablePl... omg In this article we will take alook on new Database IDE called T...
How to enable dark mode... omg In this article we will take a look on how to enable dark mode ...
How to Clear Viewing Ac... omg In this article we will take a look on how to clear your viewin...
Now to install Atom tex... omg In this tutorial we will take alook on how to install Atom Text...