LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help removing a symbolic link (https://www.linuxquestions.org/questions/linux-newbie-8/help-removing-a-symbolic-link-56747/)

jamesmwlv 04-25-2003 11:17 AM

Help removing a symbolic link
 
I need to remove a symbolic link, but not remove the files. How is this accomplished?

webtoe 04-25-2003 11:37 AM

by deleting the symlink not the file. If you just delete the link, the file that it is pointing to will not be touched.
Code:

rm a_link_to_a_file
HTH

Alex

jamesmwlv 04-25-2003 11:47 AM

Thank you
 
Thank you, I new it was something simple.

webtoe 04-25-2003 11:51 AM

No worries. I was worried when I was a n00b coz I thought I had just annihilated my brand new kernel (which was in /usr/src/linux-2.2.18 with a link /usr/src/linux pointing to it) which had taken me the best part of a day to compile right coz I just blasted the link. I was relieved to find that this wasn't the case.

Alex


All times are GMT -5. The time now is 09:44 AM.