In the last episode (Oct 20), Bill Moran said:
> In response to Efren Bravo <[EMAIL PROTECTED]>:
> > Accidentally I've created a file called -exclude and now I cann't
> > delete it.
> > I tried with:
> > rm -exclude and rm *exclude but it returns this:
> > rm: illegal option -- -
> > usage: rm [-f | -i] [-dIPRrvW] file ...
> > unlink file
> > How can I delete it?
> rm \-exclude or rm '-exclude'
Actually neither of those will work :) If '-' was a wildcard character
interpreted by the shell it would have, but rm is the problem here, not
the shell. You need to either tell rm to ignore leading dashes as
options (using the -- option):
rm -- -exclude
, or move the dash away from the beginning of the path:
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"