How to create a symbolic link in Linux

Create a symbolic link

https://linuxhandbook.com/symbolic-link-linux/

To create a symbolic link to target file from link name, you can use the ln command with -s option like this:

ln -s target_file link_name

The -s option is important here. It determines that the link is a soft link. If you don’t use it, it will create a hard link.

Create the folder with symbolic links

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,140评论 0 10
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 13,425评论 0 23
  • 那一夜的灯,明亮,就如同一簇簇炽燃在心间的火焰。记忆兀地被卷入光阴的漩涡,随着流年的倒换,次第明了了过往。我...
    浅墨无殇AI阅读 3,388评论 0 1
  • 晚上下班后去朋友家吃饭,然后喝茶聊天,她喜欢在喝茶时吃点罐装的橄榄,我是从来不吃的。但看到她吃得津津有味时,忍不住...
    邓邓老师阅读 2,732评论 0 0
  • 没有人可以随随便便成功。付出不一定会有收获。不付出一定没有收获。 经过层层筛选,加入六分之一,并成为其中一员。深入...
    六维思考阅读 2,880评论 0 4