On 1/29/20 10:45 AM, Peng Yu wrote:
It seems to me unlink and rm -f are the same if the goal is the delete
files. When are they different? Thanks.

Others have already answered, so I just want to mention the following
difference from a user's point of view:

Besides options to work with directories and directory hierarchies,
(-r, -d, -x), rm(1) supports more options which may be quite useful:
- the -i/-I/--interactive=WHEN family for prompting,
- the -v option to explain what is being done.

Have a nice day,
Berny


Reply via email to