Description of problem: In the terminal when I use the rm command to delete a text file that I created, for example "myfile", the rm command shows a message, I press the ENTER key but the ls command shows me that "myfile" still exist but if I instead use the full path for the rm binary "/bin/rm" to delete "myfile", the ls command shows me that "myfile" was deleted. Version-Release number of selected component (if applicable): coreutils-8.15-1.1.mga2 Let me show you this example: 1. Use ls command to show "myfile" $ ls myfile 2. Use the rm command to delete "myfile" $ rm myfile rm: remove regular file `myfile'? 3. Use ls command and "myfile" still exist. $ ls myfile 4. Use /bin/rm to delete "myfile" $ /bin/rm myfile 5. The ls command shows "myfile" was deleted $ ls
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"
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => INVALID
I understood; thank you for your answer.