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
Printable View
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
"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!
No offense, but quite frankly, this does not belong in a C++ forum.
There are plenty of linux/unix forums around.
--Paul