Linux - Link Commands
This is Part 6 of the Linux CLI Commands series.
π Previous: Linux - Permission Commands
π Next: Linux - Compress Commands
Link Commands
Hard Link
nl file1 file2
-- file1 and file2 are hard link
eg:
- -rw-r--r-- file1
- -rw-r--r-- file2
Soft Link
nl -s file1 file2
-- file1 and file2 are soft link
eg:
- lrw-r--r-- file1
- lrw-r--r-- file2
note: soft link start with
(l)
and hard link start with(-)
Top comments (0)