A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Linux / UNIX
delete soft link
Joined: Apr 08, 2004
Sep 27, 2009 19:11:27
How to delete only soft link without deleting directory and its contents.
deletes soft link and directory too.
author and iconoclast
Joined: Jul 08, 2003
Sep 27, 2009 21:17:07
No, deleting a soft link deletes only the link. If you have a link to a directory and you just say "rm link", then the link is removed. If you say "rm -rf link", though, then yes, the whole linked-to directory will be emptied out.
[Jess in Action]
I agree. Here's the link:
subject: delete soft link
modification is not reflecting in server
WA #1.....word association
How to do well in Java/J2EE Job Interviews
I want to Read and copy 800 MB file. Any efficient way.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014