soft link
Hi
rm -f /usr/local/bin/perl -> /usr/bin/perl it will remove softlink or permanently delete perl Regards Girish |
To delete the soft link, don't need to give the source file location also.
Just delete the link using rm command that is enough. rm /usr/local/bin/perl |
my doubt is that it will delete perl software ?
|
no, it will delete only softlink.
|
be careful
maybe you will delete source file or folder You should use unlink unlink softlink ;) |
Don't worry !
rm -f soft_link it will remove only link not the source, for you satisfaction just try it yourself ln -sf ./name_to_any_file ./soft_lik then rm -f soft_link I tried the same. |
Quote:
I keep a directory in my ~ called "play". This contains small file and directories that I use specifically to try things and verify how they work, Everything in the directory is expendable, and so I can make mistakes with impunity. |
All times are GMT -5. The time now is 09:55 PM. |