03-20-2017, 03:26 PM
|
#31
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by kzo81
Because if I dont, it'll create the symlinks in the directory where the script is. If you look at the man page of ln, see the 2nd form. It says that : "create a link to TARGET in the current directory".
If I only use ln -s, it wont recreate the symlink which is already created before although it throughs an error, which I redirect to the black-hole:-)
|
Code:
userx@slackwhere⚡️~⚡️$ sudo ln -s /opt/dropbox/dropbox-lnx.x86_64-19.4.13/dropbox /usr/bin/
no problems creating soft link outside of both directories here. I donno...
|
|
|