N o.43    HOW NOT TO DELETE YOUR IMPORTANT FILES          François Marier <francois@safe-rm.org.nz>
tl;drapt-get install safe-rm
story
$ rm -rf /usr/lib/junk
$ rm -rf /usr/lib/junkrm: cannot remove `/junk:No such file or directory
$ rm -rf /usr/lib /junkrm: cannot remove `/junk:No such file or directory
recovery
#%@☠✮!!!1- swear alot
1- swear a lot2- reinstall dpkg
1- swear a lot2- reinstall dpkg3- reinstall apt
1- swear a lot2- reinstall dpkg3- reinstall apt4- list installed packages
1- swear a lot2- reinstall dpkg3- reinstall apt4- list installed packages5- reinstall all packages
/bin/etc/home/francois/usr/bin/usr/lib
safe-rm
/usr/bin/rm
PATH="/usr/bin:/bin"
/bin/rm -rf /usr/lib
$ rm -rf /usr/lib
$ rm -rf /usr/libsafe-rm: skipping /usr/lib
/bin      /usr/bin/boot     /usr/include/dev      /usr/lib/etc      /usr/local/home     /usr/local/bin/initrd   /usr/local...
/etc/safe-rm.conf   ~/.safe-rm
apt-get install safe-rm
THE END   www.safe-rm.org.nzCopyright © 2012 François Marier <francois@safe-rm.org.nz>      This work is licensed under a ...
Upcoming SlideShare
Loading in...5
×

How not to delete your important files

725

Published on

Lightning talk introducing safe-rm, a tool designed to prevent the accidental deletion of important files.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
725
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How not to delete your important files

  1. 1. N o.43 HOW NOT TO DELETE YOUR IMPORTANT FILES François Marier <francois@safe-rm.org.nz>
  2. 2. tl;drapt-get install safe-rm
  3. 3. story
  4. 4. $ rm -rf /usr/lib/junk
  5. 5. $ rm -rf /usr/lib/junkrm: cannot remove `/junk:No such file or directory
  6. 6. $ rm -rf /usr/lib /junkrm: cannot remove `/junk:No such file or directory
  7. 7. recovery
  8. 8. #%@☠✮!!!1- swear alot
  9. 9. 1- swear a lot2- reinstall dpkg
  10. 10. 1- swear a lot2- reinstall dpkg3- reinstall apt
  11. 11. 1- swear a lot2- reinstall dpkg3- reinstall apt4- list installed packages
  12. 12. 1- swear a lot2- reinstall dpkg3- reinstall apt4- list installed packages5- reinstall all packages
  13. 13. /bin/etc/home/francois/usr/bin/usr/lib
  14. 14. safe-rm
  15. 15. /usr/bin/rm
  16. 16. PATH="/usr/bin:/bin"
  17. 17. /bin/rm -rf /usr/lib
  18. 18. $ rm -rf /usr/lib
  19. 19. $ rm -rf /usr/libsafe-rm: skipping /usr/lib
  20. 20. /bin /usr/bin/boot /usr/include/dev /usr/lib/etc /usr/local/home /usr/local/bin/initrd /usr/local/include/lib /usr/local/sbin/proc /usr/local/share/root /usr/sbin/sbin /usr/share/sys /usr/src/usr /var
  21. 21. /etc/safe-rm.conf ~/.safe-rm
  22. 22. apt-get install safe-rm
  23. 23. THE END www.safe-rm.org.nzCopyright © 2012 François Marier <francois@safe-rm.org.nz> This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×