Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newshost.marcam.com!usc!howland.reston.ans.net!ix.netcom.com!netnews From: lisab@ix.netcom.com (Lisa B.) Newsgroups: comp.unix.bsd Subject: Re: HELP!! how do you delete... Date: 13 Feb 1995 07:04:32 GMT Organization: Netcom Lines: 43 Distribution: world Message-ID: <3hn0a0$lag@ixnews1.ix.netcom.com> References: <3hfagp$fiv@villa.fc.net> <3hgids$83v@solaris.cc.vt.edu> <rwa.792459321@aupair.cs.athabascau.ca> NNTP-Posting-Host: ix-wc2-08.ix.netcom.com In <rwa.792459321@aupair.cs.athabascau.ca> rwa@aupair.cs.athabascau.ca (Ross Alexander) writes: > >cs230457@vtaix.cc.vt.edu (Scott Gasch) writes: > >>Steve Gibson (ares@freeside.fc.net) wrote: > >>: reading this next question. How does one delete a file that starts with >>: a "-"? > >>Try either: >> rm ./-whatever > >The canonical correct answer. > >> rm ?whatever > >Won't work. Think about it. > >regards, >Ross > >-- >Ross Alexander VE6PDQ rwa@cs.athabascau.ca, >(403) 675 6311 rwa@auwow.cs.athabascau.ca > >Television is chewing gum for the eyes. -- Frank Lloyd Wright > use a backslash "\". In Unix the \ means the next character the getty receives is the character that you wanted. so use: rm \-whatever PS: have fun with your friends create file names with embeded backspaces or ab askrist (*). ll > \* or ll > \#\(backspace)\* see if they can kill that file! JACKB