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