Prev Next

Tools / Shell Scripting Interview Questions

What is a Symlink?

A symlink or a Symbolic Link is simply enough a shortcut to another file. It is a file that points to another file.To create a symbolic link you use the following command:

ln -s target_path link_path

For example, the below command creates a symlink MY_DIR for the actual directory my_folder.

ln -s ~/Desktop/my_folder ~/Desktop/MY_DIR

More Related questions...

Show more question and Answers...


Comments & Discussions