28 Sep

Shortcuts – Hard and Soft Links in Linux

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

Your email address will not be published. Required fields are marked *