Ln: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
  ln <''target-file''> <''hard-link-name''>
  ln <''target-file''> <''hard-link-name''>


For more details, see [[Linux_7_Storage_Concepts#Hard_Link|hard links]]
For more details, see [[Linux_7_Storage_Concepts#Hard_Link|hard links]].


=Remove a Symbolic Link that Points to a Directory=
=Remove a Symbolic Link that Points to a Directory=

Revision as of 20:25, 3 April 2018

Internal

Create a Hard Link

ln <target-file> <hard-link-name>

For more details, see hard links.

Remove a Symbolic Link that Points to a Directory

rm <link-name>

but avoid appending a / to the name of the link.