symlink confusion

Steve Bertrand iaccounts at northnetworks.ca
Wed Nov 12 13:14:38 PST 2003


> > # ln -s /usr/X11R6 /home/steve/X11R6
> >
> > Which put a new link from the original to the new location.
> >
> > If I # rm /home/steve/X11R6, will I be safe as to not delete the original
> > directory?

I'm sorry, the above line should have read:

# rm /usr/X11R6

not the other way around. In essence, if I delete the link, the directory
should remain right? Then I can just move the directory back to it's
original location?

Steve

>
> What does:
> # ls -l /usr/X11R6 /home/steve/X11R6
> tell you?
> I'm currently a bit confused.
>
>
>
> > If this is true, what could I have done in the past that would of seen an
> > entire directory structure deleted by deleting the link?
> >
> > Tks for your input.
> >
> > Steve
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list