On Thu, 19 Sep 2002, mingo lu wrote: > thanks. actually i did this before:
Try the command I gave you. > freebiebsd@ rm -rf `\-bash.gmon` If you use apostrophes that start at top left and go down to lower right such as this: `` the text between them is interpreted by your shell as a command within a command. > freebiebsd@ bash: ./-bash.gmon: Permission denied This error is telling you that it cannot execute the command -bash.gmon You may be able to use regular apostrophes such as these '' or double quotes such as these "" but in the case of the '' quotes the \ backslash to force the dash will be forced itself due to the quotes! > so that I su to the root and the same problem. > any ideas? > tia su has nothing to do with it -- if the file was an ownership issue, the error would have said "rm ___: Permission denied" or the like. > --- Peter Leftwich <[EMAIL PROTECTED]> wrote: > > On Thu, 19 Sep 2002, mingo lu wrote: > > > Hi: i have two weird files under my home directory; one is > > > file named "-bash.gmon" and another one is "xy ds". > > > how could i remove them? rm just won't work ... > > > tia > > > > What error does rm give you? Have you tried `rm -i > > \-bash\.gmon` or `rm -i xy\ ds`? If your shell is tcsh you can just type > > part of the filename then > > press TAB and if you are familiar with emacs (the editor) it has a dired > > (directory editor) mode where you can arrow up and down and select files > > with one key press in order to delete them. -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message