1.) go to the home folder in Cygwin
2.) go to /usr/local/bin folder
3.) create soft link like this:
ln -s /cygdrive/c/dev/scripts/xxxx.sh xxxx
4.) then we can call "xxxx" in any path.
that's it.
本文介绍如何在Cygwin环境下前往指定文件夹并创建软链接,使得可以在任意路径下调用特定脚本,包括步骤说明:进入home文件夹、定位到目标bin目录、建立软链接。
1.) go to the home folder in Cygwin
2.) go to /usr/local/bin folder
3.) create soft link like this:
ln -s /cygdrive/c/dev/scripts/xxxx.sh xxxx
4.) then we can call "xxxx" in any path.
that's it.
2072
479

被折叠的 条评论
为什么被折叠?