Eric at Lucii.org on 22 May 2012 14:37:05 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] toy story2 nearly lost with rm* |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Years ago I developed the habit of typing ./ in front of file and directory names - PARTICULARLY those in an rm command. rm -rf ./* is just fine when the PWD is /home/eric/projectX/temporary_files Sometimes I will execute an ls command first to see that I'm deleting the files I *think* I am. Then, press the up arrow, cursor to the front of the line and replace ls with rm ls *.tmp rm *.tmp I still agree that aliasing rm for root is a smart idea. I should do that. No, I _will_ do that. Now. Eric On 05/22/2012 02:45 PM, drew craig wrote: > Hi all, I brought this little story up in our meeting last evening. The link goes to Linux Today. > > pixars toy story2 nearly lost because of a linux command <http://www.linuxtoday.com/it_management/pixars-toy-story-2-was-nearly-lost-because-of-a-linux-command.html> > > -- /drew/ > > > ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug - -- # Eric Lucas # # "Oh, I have slipped the surly bond of earth # And danced the skies on laughter-silvered wings... # -- John Gillespie Magee Jr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+8BvAACgkQ2sGpvXQrZ/6rswCfUVVu3osyoudWFOfAJil+udiq gv0AoJfsFAVymeQ5U0G7vfI0/VzKWldb =Qbqx -----END PGP SIGNATURE----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug