【linux】建立软链接

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/w417950004/article/details/82082764

linux下的软链接类似于windows下的快捷方式

ln -s python3 python

如上所示:建立python3的软连接python,其中python3是已经存在的原文件,python是还没有建立的链接名,其作用是进入了python就等于是进入了python3了。

删除软连接的时候是:

rm -rf python 而不是rm -rf python/

猜你喜欢

转载自blog.csdn.net/w417950004/article/details/82082764