ln命令

ln命令在文件之间建立链接

用法

  ln [OPTION]... [-T] TARGET LINK_NAME (1st form)
  ln [OPTION]... TARGET (2nd form)
  ln [OPTION]... TARGET... DIRECTORY (3rd form)
  ln [OPTION]... -t DIRECTORY TARGET... (4th form)

ln test1 ln_test   为test建立一个硬链接ln_test

ln -s test1 ln_test_s   为test建立一软链接ln_test_s

原文地址:https://www.cnblogs.com/phonecom/p/6822029.html