LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
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, 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



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

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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