1、格式 ln source_file_path target_file_path

2、执行ln 命令的用户要对source_file_path有写权限,才可以创建软连接。

3、souce_file这个文件对ln的执行者要是可达的,也就是说ln的执行者要对source_file的上层目录有x权限。

例子:

  usra> /home/userb/data.txt /home/usera/data.txt

相关文章:

  • 2021-06-05
  • 2021-11-19
  • 2021-10-06
  • 2022-02-02
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-05
  • 2021-06-20
  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
相关资源
相似解决方案