Nguyễn Nguyệt Ánh
New member
How do I change a hard link in Linux?
Answer
Use the ln command to create additional hard links to an existing file (but not to a directory, even though the system sets up . and .. as hard links). Listing 1 shows how to create a directory containing two files and a subdirectory with two hard links to file1, one in the same directory and one in the subdirectory.
Answer
Use the ln command to create additional hard links to an existing file (but not to a directory, even though the system sets up . and .. as hard links). Listing 1 shows how to create a directory containing two files and a subdirectory with two hard links to file1, one in the same directory and one in the subdirectory.