difference between unlink and rm
Posted on 2004-08-20
I have a normal file which is NOT a soft/hard link. When I say unlink <file name> the file gets removed. Can somebody explain this behaviour? Since the file gets removed is it equalent to rm <file name>.
I'm writing a bourne shell script where I have check for only the softlinks and remove it. How do I do it?
Thanx in advance,