|
-
May 13th, 2003, 01:48 AM
#1
removing the link(constituded by command "ln") from a file
I am not experienced in linux shell
I do the following,
$rm -rf a
$ln -sf b a
and now I want to reverse these commands. I want to remove the link on file a, and I want to gain this file with no loss.
thank you
-
May 13th, 2003, 04:21 AM
#2
"ln -s" creates a softlink, meaning the new filename is linked to the old filename, but they are different.
You can safely "rm" the link:
rm a
But be careful: if the link is a hard link, your original file will be deleted!
-
May 13th, 2003, 06:11 AM
#3
No offense, but quite frankly, this does not belong in a C++ forum.
There are plenty of linux/unix forums around.
--Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|