How can I remove a file without asking the user if he agrees to delete the file? I am writing shell script and use rm function, but it asks "remove regular file?" and I really don't need this.
Linux – Remove file without asking
linuxshell
linuxshell
How can I remove a file without asking the user if he agrees to delete the file? I am writing shell script and use rm function, but it asks "remove regular file?" and I really don't need this.
Best Answer
You might have
rm
aliased torm -i
so try this:To see your aliases you can run
alias
.