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]
Byte sized tech know-how.
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]
Copyright © 2024 Txt