coreutils
[Top][All Lists]
Advanced

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

[rm] Order of parameters


From: Piotr Rogoża
Subject: [rm] Order of parameters
Date: Mon, 30 Nov 2015 23:23:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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: descend into directory ‘test’? n
$ ls -l test
total 0
-rw-r--r-- 1 user group 0 Nov 30 22:32 file

but

$ rm -irfv test
removed ‘test/file’
removed directory: ‘test’
$ ls -l test
ls: cannot access test: No such file or directory

Is it normal?

coreutils-8.24 and other version

--
Best regards dracorp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]