![]() |
Basic UNIX question from a neophyte... Please help.
I have this file in my directory...
-rw-r--r-- 1 thefly thefly 573440 May 12 14:15 -p The filename is "-p" as far as I can tell -- I don't know how it got there even... I try, ls "-p" ls ?p cat "-p" etc. etc. I can't figure out how to open the file or delete it or anything... I feel so helpless! Why is it there? LOL Please help... |
try rm '-p' to remove it ...
|
Have to do it this way ...
% rm ./-p |
.. because Unix is interpreting the regular - as an option flag.
|
Quote:
Ahhhhh thanks man!!! Yeah I just wanted to look in the file first to see what was in there... This worked... cat ./-p |more I have a feeling that -p file got created by tar... not sure why tho... |
:-)
|
Anyway that's all the work I can handle for one day -- LOL -- I'm taking a nap...
|
| All times are GMT -7. The time now is 04:44 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123