Click to See Complete Forum and Search --> : removing symbolic link ?


anton
06-18-2001, 11:20 AM
How would I do subj ? ... did find anything about that in man pages :(

JALU
06-18-2001, 11:22 AM
Just going out on a limb here cause I'm not totally sure, but try deleting the link maybe?

X_console
06-18-2001, 11:39 AM
Just use "rm". If you just want to remove the symlink, but not the actual file, then just use "rm" on the link. If you want to remove the actual file, then you need to remove both the symlink and the file. You don't actually have to remove the symlink, but your system will get cluttered up with dead links if you don't.

anton
06-18-2001, 11:50 AM
wait ... if first I did :
ln -s /home/anton/html /home/httpd/html/anton

I just need to remove /home/httpd/html/anton ?


by the way , why if I do that symbolik link, then in /home/httpd/html/anton I see dir html , and not files under that dir... so I get :
/home/httpd/html/anton/html=/home/anton/html
and I want :
/home/httpd/html/anton=/home/anton/html

thanks.

Craig McPherson
06-18-2001, 06:59 PM
ln -s /home/anton/html /home/httpd/html/anton

I just need to remove /home/httpd/html/anton?


rm /home/httpd/html/anton

anton
06-18-2001, 07:20 PM
thanks Craig, I got that working also : )

so for now I got everything working, now I'll have to wait until my dns records will be updated for domain, and I'll have much more questions ; )