cp /dev/null ./-file.txt or simply
touch ./-file.txt On Thu, 2002-04-04 at 14:36, daniel wrote: > hello again list > got a simple question here: > > i know how to do this: > > cp /dev/null file.txt > > but what if i want the file name to start with a "-"? > > cp /dev/null "-file.txt" # doesn't work > cp /dev/null \-file.txt # doesn't work either > > any suggestions? _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list