Sample Header Ad - 728x90

How to create a hardlink of a file in a different directory in Linux?

0 votes
2 answers
19176 views
Suppose the file name is file1 in the home directory. How can I create a hard link in a different directory? I tried : ln -t file1 filehardlink > / home/dir2
Asked by Avinash Utekar (181 rep)
Apr 24, 2017, 09:44 AM
Last activity: Nov 20, 2024, 03:56 PM