How Do You Link in Unix?
Contents

To create a symbolic link is Linux use the ln command with the -s option. For more information about the ln command, visit the ln man page or type man ln in your terminal. If you have any questions or feedback, feel free to leave a comment.

Description. The link command creates a hard link named FILE2 which shares the same index node as the existing file FILE1. Since FILE1 and FILE2 share the same index node, they will point to the same data on the disk, and modifying one will be functionally the same as modifying the other.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest