how to create symlink in linux

Madeesha’s Tech Space
2 min readMar 15, 2018

--

A symbolic link, also termed a soft link, is much like a shortcut in Windows. It simply points to another entry somewhere in the file system. Therefore it will not duplicate the data in the system. Following image shows symlink for the ‘sample’ folder inside the test folder.

To create a new symlink (will fail if symlink exists already) use following command as follows :

sample command

To create or update symlink you can use the following command :

Remember, If you delete the original file or move it to a different location, your symbolic file will not function properly.

--

--

No responses yet