[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why people use `find ... |env -i xargs rm -f' instead of `find ...| xargs rm -f'?



Michael Wardle wrote:
On Wednesday, March 12, 2003 14:45, Dai Yuwen wrote:

Why people want to clean the environment variables before rm files?


Some systems have an alias for "rm" that invokes "rm -i". It's possible that running with env -i ensures that the true, unaliased command is run.


'rm -i -f' is equivalent to 'rm -f'...



Reply to: