Once a file is removed there is no way to retrieve it.

To avoid this ...

Always use the rm command together with its -i option.

   rm -i filename

This will prompt you for confirmation that you want to remove the file. You can make this the default action for the rm command by creating a command alias that uses this option.

[Home] [Search] [Index]