Shortcuts - Hard and Soft Links in Linux

Tagged with: , , , , ,

This is how to create hard and soft links in Linux. Remember, a directory cannot be hard linked.


#Hard link
ln /path/to/file.ext .

#Soft link
ln -s /path/to/file.ext .

[tags]link, shortcut, soft,hard,linux,command[/tags]

Leave a Reply