Re: [OT] Linux snafoo
- Posted by Christian.CUVIER at agriculture.gouv.fr Feb 25, 2003
- 439 views
I remember I had to do the following on an Unix mainframe, very long ago; should work in linux as well: 1/ get a directory listing by inodes (it's some option of ls -- "ls -i" possibly) 2/ rm the file with that inode (possibly "rm -i"). Look at your local man to get the exact syntax, because I don't precisely remember it, and I don't have this at hand. HTH CChris > > Date: Tue, 25 Feb 2003 03:05:46 -0500 > From: Greg Haberek <g.haberek at comcast.net> > Subject: [OT] Linux snafoo > > silly linux, 'del' is for windows! > > please forgive me, I'm very new to Linux and this may be a trivial issue, but > I was wondering if > those of you fluent in this wonderful OS could help me... somehow, probably by > my own mistake, > tar ran into an error, and left a file called "-xvz.tgz" and when I try to rm > it, I get an > error.. > > rm: invalid option -- x > > how do I delete this file? (mv returns the same error) obviously it thinks I'm > trying to pass a > parameter, not a file name > > ~Greg > g.haberek at comcast.net > > PS: logging in as root doesn't help.. > > > End of EUforum at topica.com digest, issue 2381