23.14 Handling a Filename Starting with a Dash (-)
Sometimes you can slip and create a file whose name starts with a dash
(
In almost every case, all you need to do is "hide" the dash from the
command.
Start the filename with
% (Most rm commands have a special option for dealing with filenames that start with a dash, but this trick should work on all UNIX commands.) - |
|