LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   how to remove the symlinks (http://www.linuxquestions.org/questions/linux-server-73/how-to-remove-the-symlinks-918307/)

jayakumar01 12-12-2011 06:15 AM

how to remove the symlinks
 
Dear Sir,
How can i remove sysmlinks in linux..

ln -s /opt/software /backup

if anyfile deleted over in /backup auto getting del off in /opt/sofware .How can i make symlink that when even file delete off in /backup should stay off in /opt/software folder

acid_kewpie 12-12-2011 08:53 AM

You seem to be asking how can you create a symlink that allows you do delete a file there but not in the original location? If so then that doesn't make sense as a symlink just points to the original file, it is the same thing.

you can delete the /backup symlink itself by deleting is as per "rm /backup" and that will say something like "delete symlink [y/N]" so you know it is just a link you're deleting not whatever it points to.

jayakumar01 12-13-2011 11:01 AM

Hi
Thanks for ur reply .


All times are GMT -5. The time now is 09:55 PM.