LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-12-2011, 07:15 AM   #1
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Rep: Reputation: Disabled
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
 
Old 12-12-2011, 09:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 12-13-2011, 12:01 PM   #3
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Original Poster
Rep: Reputation: Disabled
Hi
Thanks for ur reply .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Symlinks Zycus Linux - Software 1 08-24-2011 02:16 PM
Symlinks and .. smidgie82 Linux - General 2 12-21-2005 05:13 PM
? on symlinks eroica Linux - Software 1 09-21-2004 10:45 AM
symlinks.. NSKL Slackware 3 05-26-2002 06:35 PM
symlinks tstuhr Linux - General 3 10-05-2001 11:49 AM


All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration