How not to delete your important files
Upcoming SlideShare
Loading in...5
×
 

How not to delete your important files

on

  • 917 views

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.

Statistics

Views

Total Views
917
Views on SlideShare
902
Embed Views
15

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 15

http://lanyrd.com 15

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

How not to delete your important files How not to delete your important files Presentation Transcript

  • 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/include/lib /usr/local/sbin/proc /usr/local/share/root /usr/sbin/sbin /usr/share/sys /usr/src/usr /var
  • /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 Creative Commons Attribution-ShareAlike 3.0 Unported License.