LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 07:49 AM   #1
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
removing a soft link


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

Rep: Reputation: 69
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, 06:11 PM   #3
ttguy
LQ Newbie
 
Registered: Jan 2010
Posts: 5

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, 09:34 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

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


Reply



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 07:14 AM
Soft Link and Hard Link Moataz Red Hat 1 04-25-2005 06:30 AM
Wat is a Soft Link? wed3k Linux - Newbie 2 08-19-2003 01:23 PM
Will soft link work? zulu1_hl Linux - Newbie 1 02-26-2003 02:39 PM
Soft link help Pyroknight Linux - Newbie 1 02-06-2003 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:35 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
Open Source Consulting | Domain Registration