Welcome to the most active Linux Forum on the web.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 02-15-2006, 10:29 AM   #1
LQ Newbie
Registered: Jul 2005
Location: ventura ca
Distribution: FreeBSD 6.1 and Debian etch
Posts: 23

Rep: Reputation: 15
remove link

can someone tell me if there is a remove link -s command?
Old 02-15-2006, 10:52 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
When you create a link with "ln -s", then you can remove the link with a simple "rm".

"rm ACTUAL_FILE" removes the actual file, "rm SYM_LINK" removes the symbolic link.
Old 02-15-2006, 12:51 PM   #3
Registered: Feb 2005
Location: Australia
Distribution: [Redhat] [Slackware] [SuSe] [FreeBSD]
Posts: 81

Rep: Reputation: 15
example : ln -sf linux-2.4.20 /usr/src/linux
rm -rf /usr/src/linux


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
how to remove a hard link... trey85stang Linux - Newbie 17 07-14-2008 01:17 PM
remove link kpachopoulos Linux - Newbie 2 07-23-2005 03:42 PM
Is there a way to remove a symbolic link Philter Linux - Newbie 3 11-30-2004 07:24 PM
How do i remove a link made with ln? theMonkeY Linux - Newbie 2 06-19-2004 01:06 PM
how to remove link boToo Linux - Newbie 1 08-24-2003 02:04 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:57 AM.

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