On 22/11/12 11:19, Thomas Backlund wrote:
https://bugs.mageia.org/show_bug.cgi?id=8177

Thomas Backlund<[email protected]>  changed:

            What    |Removed                     |Added
----------------------------------------------------------------------------
              Status|NEW                         |RESOLVED
          Resolution|                            |INVALID
                  CC|                            |[email protected]

--- Comment #1 from Thomas Backlund<[email protected]>  2012-11-22 12:19:42 CET ---

That is intended.

rm is aliased to "rm -i" to ask the question as a safety feature, so you must
answer the question, not only press enter.

$ touch testfile
$ ll testfile
-rw-rw-r-- 1 tmb tmb 0 Nov 22 13:14 testfile
$ rm  testfile
rm: remove regular empty file `testfile'? y
$ ll testfile
ls: cannot access testfile: No such file or directory


the other way to avoid the question is to do "rm -f"


Or if you happy to run rm as it was written and risk deleting something you didn't want too, then comment out the alias (and any others that get on your nerves:) ) from /etc/profile.d/60alias.sh


Reply via email to