rmdir when directory is not empty

Robert P. J. Day rpjday at mindspring.com
Tue Dec 20 19:01:53 UTC 2005


On Tue, 20 Dec 2005, Chasecreek Systemhouse wrote:

> On 12/20/05, Robert P. J. Day <rpjday at mindspring.com> wrote:
>
> >   $ rm -rf <dirname>
>
> # mkdir TestDir && rm -fr <TestDir>
> bash: syntax error near unexpected token `newline'

um ... the "<dirname>" was meant to represent an arbitrary directory
name.  you weren't supposed to literally type the "<" and ">".

rday




More information about the users mailing list