What's the difference between ln -s and alias?

后端 未结 7 1990
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-23 09:42

I just found a workaround for a problem I was having with the subl command for Sublime Text 3 when the MacPorts version of python is installed. The instructions

相关标签:
7条回答
  • 2020-12-23 10:23

    ln -s creates a symbolic link, which is almost a file on your filesystem

    alias is a shell specific thing

    So, basically, a symbolic link is a better solution because it is going to work for everything. Like, if you want to make your file manager open text files with that specific program, you can point it to your symbolic link and it is going to work.

    0 讨论(0)
提交回复
热议问题