When creating a symbolic link, the source must be an absolute path or things won’t work.
One easy way to create that absolute path is with $PWD
:
ln -s $PWD/source /usr/local/bin/target
When creating a symbolic link, the source must be an absolute path or things won’t work.
One easy way to create that absolute path is with $PWD
:
ln -s $PWD/source /usr/local/bin/target