I do understand how they are connected, but your subject line really doesn't match the question.

On 6/30/20 8:31 AM, Bob Goodwin wrote:
L am struggling with the configuration of the new server. Presently my problem is that I attempted to create a link an made an error, I do not understand perfectly what I have read!

[root@smb bobg]# ln -s /home/share  /media/dd2

I'm pretty sure you got this backwards. The target goes first, then the the name or where to put it. If the name (/media/dd2) exists and is a directory, then the link will have the basename of the target (share). So you ended up with /media/dd2/share -> /home/share.
What I think you want is for /home/share to not exist and then you run:
ln -s /media/dd2 /home/share

"# rm linkfile" is clear enough but,

[root@smb bobg]# ll /media/dd2
total 0
lrwxrwxrwx. 1 root root 11 Jun 29 17:25 share -> /home/share

Which one is the  link name to be removed, what is the exact command to do that and NOT DESTROY or damage the files in /media/dd2?

The part before the "->" is the name of the link. The right side is the target. "rm" as root will by default ask you if you're sure, unless you've changed that. So you could just try the "rm" and see what it says. "rm" without "-r" will also not delete a directory so you're really safe.
Anyway, the command you want is "rm /media/dd2/share".

I could unplug the data cable on the drive while doing the removal but even then Might there be something lurking to finish the removal when restarted with the drive plugged in? I am confused and worried about doing the removal correctly, some advice appreciated.    Bob

An "rm" command will not survive the target going away.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to