Enter the following line in the “Alias definitions” on the terminal:
$alias rm='rm -i'
When you enter “rm –r” to delete a folder, you will also get the confirmation.
This simple safeguard can save your system if you accidentally delete an important file or folder.
Leave a Reply
You must be logged in to post a comment.