filenames with leading dashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Most commands use two hyphens to signify
"no more extensions."  It's a *nix convention.
So to remove all files starting with a hyphen, do this:

rm -- -*

or this:

rm -- \-*

_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]