Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: zeugma; ShadowAce; rdb3
rm -rf / home/zeugma/trash/*

There's a whole section devoted to such errors due to inadvertent whitespace creeping into commands in The Unix Haters Handbook. One that's caught me far too often than I care to admit is hitting a space before the dot:

rm * .~
The handbook states that such botches are "rites of passage" in the Unix world. In a sense that's true because I've become an absolute fanatic about backups since my last real disaster of that sort in 1993. Sure the GUIs help protect against such things, but I'm just quicker when working at the shell.
Shadow Ace and rdb3: I really should've pinged both of you at the outset of this thread. So this makes up for lost time. :)
50 posted on 03/23/2014 3:42:08 PM PDT by re_nortex (DP - that's what I like about Texas)
[ Post Reply | Private Reply | To 48 | View Replies ]


To: FReepers
In my prior post about the Unix Haters Handbook, be sure to read the Anti-Foreword composed by the late Dennis Ritchie (well known to many as dmr), who died on 2011-10-12. With no disrespect intended at all for Steve Jobs, I submit the following graphic as a way of remembering the contributions of dmr:

I'll add that I've had the pleasure of communicating on occasion via e-mail with Dennis. Without fail, he always responded, even to my oft-stupid questions and was far more courteous to me than I deserved with my bothersome messages.

51 posted on 03/23/2014 4:01:27 PM PDT by re_nortex (DP - that's what I like about Texas)
[ Post Reply | Private Reply | To 50 | View Replies ]

To: re_nortex
The handbook states that such botches are "rites of passage" in the Unix world.

It is. One of the questions I ask in job interviews is for the most spectacular example of when they completely trashed a system. More than anything else, it's a character question. Anyone who's been a unix admin for long enough will have at least one really good one. If they can't come up with anything, I question how hands-on they actually are.

52 posted on 03/23/2014 9:02:36 PM PDT by zeugma (Is it evil of me to teach my bird to say "here kitty, kitty"?)
[ Post Reply | Private Reply | To 50 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson