On 09/09/2014 02:15 PM, Charles Curley wrote: > On Tue, 9 Sep 2014 10:03:11 -0600 > Ed Felt <[email protected]> wrote: > >> I would like to have it for a Linux Admin class I am >> teaching. > Write this on the board, and then tell them several times not to > actually do it. Then have them look up the man page to see what it does. > > rm -rf / > > Then tell them again to not do it. Almost every class someone types it > in. Fortunately I've never actually had someone execute it. > >
These days, rm actually prevents that without an extra switch: mwalker@armitage ~ $ rm -rf / rm: it is dangerous to operate recursively on ‘/’ rm: use --no-preserve-root to override this failsafe -- Matthew Walker HAM Call Sign: N7TOX Kydance Hosting & Consulting, Inc. - http://www.kydance.net/ PHP, Perl, and Web Development - Linux Server Administration /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
