[olug] Quick Tip

Trent Melcher tmelcher at trilogytel.com
Fri Mar 28 14:25:38 UTC 2003


To remove a filename that starts with a - (dash), example  -test

use "rm -- -test"

Its one I had to research again, havent used it in a while and had one of my
operator fat finger a tar command trying to tar files to tape, well she
tarred them to /dev/rmt/-cn  instead of /dev/rmt/0cn,  oops.  Filled up the
/ filesystem doing it too...

Just thought it might be a good-to-know  tip.

Trent


               \\\///
              / _  _ \
            (| (.)(.) |)
 +--------.OOOo--()--oOOO.----------+
 |Trent Melcher                     |
 |Network/System Administrator      |
 |Startouch International LTD.      |
 |402.346.4600  x103                |
 +----------.oooO-------------------+
            (   )   Oooo.
             \ (    (   )
              \_)    ) /
                    (_/







More information about the OLUG mailing list