On 11/30/2015 03:23 PM, Piotr Rogoża wrote:
> Hello
> I have question about order of parameters for command rm.
> 
> $ ls -l test
> total 0
> -rw-r--r-- 1 user group 0 Nov 30 22:32 file
> $ rm -rfvi test

> $ rm -irfv test

Yes, it is intentional that whichever is last between -i and -f wins;
the two options are mutually exclusive, but do not cause a warning (so
that you can have an alias that does 'rm -i' by default but still issue
-f to your alias).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to