Ubuntu create and delete symbolic link

Symbolic links are similar to windows shortcuts. They can be created by:

sudo ln -s /home/user/temp /home/user/app/temp

Symbolic can be removed by: rm or unlink ( unlink is just as interface for rm). You can check differences here: What is the difference between unlink and rm?

 rm /home/user/temp
 unlink /home/user/temp

Symbolic link in Ubuntu or Linux Mint/ Debian can be tested by ls -al /home/user/

ls -al /home/user/

result:

lrwxrwxrwx  1 root   root          22 2017-08-23 11:29 temp -> /home/user/app/temp
lrwxrwxrwx  1 root   root          23 2017-08-25 19:21 temp2 -> /home/user/app/temp

Related Article