How not to delete your important files

  • 668 views
Uploaded on

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

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

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
668
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. N o.43 HOW NOT TO DELETE YOUR IMPORTANT FILES François Marier <francois@safe-rm.org.nz>
  • 2. tl;drapt-get install safe-rm
  • 3. story
  • 4. $ rm -rf /usr/lib/junk
  • 5. $ rm -rf /usr/lib/junkrm: cannot remove `/junk:No such file or directory
  • 6. $ rm -rf /usr/lib /junkrm: cannot remove `/junk:No such file or directory
  • 7. recovery
  • 8. #%@☠✮!!!1- swear alot
  • 9. 1- swear a lot2- reinstall dpkg
  • 10. 1- swear a lot2- reinstall dpkg3- reinstall apt
  • 11. 1- swear a lot2- reinstall dpkg3- reinstall apt4- list installed packages
  • 12. 1- swear a lot2- reinstall dpkg3- reinstall apt4- list installed packages5- reinstall all packages
  • 13. /bin/etc/home/francois/usr/bin/usr/lib
  • 14. safe-rm
  • 15. /usr/bin/rm
  • 16. PATH="/usr/bin:/bin"
  • 17. /bin/rm -rf /usr/lib
  • 18. $ rm -rf /usr/lib
  • 19. $ rm -rf /usr/libsafe-rm: skipping /usr/lib
  • 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. /etc/safe-rm.conf ~/.safe-rm
  • 22. apt-get install safe-rm
  • 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.