Please see the command below:

 

代码
david_lee@david-desktop:/home/david_lee/test$ sudo ln -s test /usr/bin/test
david_lee
@david-desktop:/home/david_lee/test $ test
bash:
/usr/bin/test: Too many levels of symbolic links

That is to say i got the error: Too many levels of symbolic links.

 

The reason is that, when I creating the symbolic link, I only used the relative path, but not the absolute path.

 

The solution is to use the absolute path.

david_lee@david-desktop:/home/david_lee/test$ sudo ln -s /home/david_lee/test/test /usr/bin/test

 

 

相关文章:

  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2021-05-25
  • 2021-11-05
  • 2021-09-18
  • 2022-12-23
  • 2022-02-26
猜你喜欢
  • 2022-12-23
  • 2021-05-03
  • 2022-02-03
  • 2021-08-18
  • 2022-12-23
相关资源
相似解决方案