LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 02-15-2006, 09:29 AM   #1
nutbag
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, 09:52 AM   #2
paulsm4
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, 11:51 AM   #3
dudulz
Member
 
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
 
  


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


All times are GMT -5. The time now is 01:02 PM.

Main Menu
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