LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2003, 12:17 PM   #1
jamesmwlv
LQ Newbie
 
Registered: Dec 2002
Posts: 5

Rep: Reputation: 0
Post Help removing a symbolic link


I need to remove a symbolic link, but not remove the files. How is this accomplished?
 
Old 04-25-2003, 12:37 PM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
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
 
Old 04-25-2003, 12:47 PM   #3
jamesmwlv
LQ Newbie
 
Registered: Dec 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Talking Thank you

Thank you, I new it was something simple.
 
Old 04-25-2003, 12:51 PM   #4
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
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
 
  


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
Symbolic link? jasone Linux - Newbie 4 05-06-2005 08:55 AM
Removing a symbolic link lolipop Linux - Newbie 2 03-23-2005 12:53 PM
symbolic link ilnli Slackware 6 01-04-2005 06:05 PM
symbolic link jsetter Linux - Newbie 4 11-22-2004 08:18 AM
Symbolic link. bulzbb Linux - General 8 03-19-2004 05:57 AM


All times are GMT -5. The time now is 11:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration