LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-05-2003, 08:49 AM   #1
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware 13.37
Posts: 785

Rep: Reputation: 31
removing a soft link


What is the command for removing a soft link?
 
Old 03-05-2003, 10:09 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
rm /path/to/soft/link



If you want to over-ride it with another softlink:
ln -sf /whatever/file /soft/link

Cool
 
Old 12-31-2011, 07:11 PM   #3
ttguy
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by MasterC View Post
rm /path/to/soft/link
What is the difference between rm and unlink then?

Because I use unlink
 
Old 12-31-2011, 10:34 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,248

Rep: Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557Reputation: 1557
Unlink is specifically for removing a single named link file per instance of usage; rm is for removing anything (or everything).
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to copy soft link hongxing Linux - Software 5 02-24-2010 08:14 AM
Soft Link and Hard Link Moataz Red Hat 1 04-25-2005 07:30 AM
Wat is a Soft Link? wed3k Linux - Newbie 2 08-19-2003 02:23 PM
Will soft link work? zulu1_hl Linux - Newbie 1 02-26-2003 03:39 PM
Soft link help Pyroknight Linux - Newbie 1 02-06-2003 07:21 PM


All times are GMT -5. The time now is 03:55 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