Sapiens Search

How to create a symbolic link (symlink)?

ln -s <Path to the file> <Path to the target>


ln -s /media/data/ /home/garou/scripts/

Arcam Sapientia

We can use sudo in the beginning of the command if we don't have write privilege in the target.

We can specify a new name to link too, like:
sudo ln -s /media/data/ /usr/bin/

No comments:

Post a Comment