rm -rf
Bill Campbell
linux-sxs
Thu Nov 9 09:04:28 PST 2006
On Thu, Nov 09, 2006, Man-wai CHANG wrote:
>Net Llama! wrote:
>> http://www.justpasha.org/folk/rm.html
>>
>
>Back then, was there regular expression? I meant the "*"...
The ``*'' here is a shell expansion, not a regular expression,
and, yes, they've been arounc *nix systems forever.
FWIW: There was an ``intersting'' bug in Xenix on the Radio
Shack Model 16s when it was first released in 1982. If one typed
the command ``lp *'' in the root directory, it would actually
link all the root-level directories under the /usr/spool/lp
directory (yeah I know you're not supposed to be able to make
hard links of directories). Then of one executed a command like
``rm -rf /usr/spool/lp/*'' it would happily remove the entire
system. The Radio Shack Xenix was Microsoft's port of UNIX to
the Motorola 68000.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
``Nobody wants to be called common people, especially common people.''
Will Rogers
More information about the Linux-users
mailing list