• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoLinux ApplicationsEnable the Confirmation when Deleting Files and Fo ...
Previous Next

Enable the Confirmation when Deleting Files and Folders Using the rm Command in Ubuntu

Posted by: Yang , June 4, 2014

00_lead_image_rm_confirmation

 

 

 

 

 

 

 

 

 

Enter the following line in the “Alias definitions” on the terminal:

$alias  rm='rm -i'

2014-06-04-082912_1280x720_scrot

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

 

 

Tags: Linux Applications

Share!
Tweet

Yang

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors