I'm looking for a solution to be used as a response to "rm: remove write-protected regular file [x] ?"
I was thinking of issuing a character followed by carriage return for several amount of times, in bashrc. How do we do that?
Edit based on updated question:
To avoid being asked about removing files, simply add the
This has one side effect you should be aware of: If any of the given paths do not exist, it will not report this, and it will return successfully:
Here's one simple solution:
The other issue I've run into from time to time is that
In that case you can either unalias
You can learn more about aliases through an article at Nixcraft.