simple trick
- From: Matt Giwer <jull43@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 24 Mar 2007 20:58:15 -0400
And probably very old but I just came across it. I'll take the risk of posting old news.
I got a bad rar file in s bittorrent download. So how do I fix just that without starting over? Create a new file but any of the obvious ways would contaminate it with at least one byte AND the file names is something like 50 characters long so I have to type it without error.
So first I us ls and tab completion to get the right file and hit return.
Then I up arrow to get that last command and backspace through it to the ls. I erase the ls and replace it with > the greater-than caret/arrow and I have a zero byte file.
--
Senior military in Iraq against the troop increase are replaced. Consensus
building Neocon style.
-- The Iron Webmaster, 3742
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
commentary http://www.giwersworld.org/opinion/running.phtml a5
.
- Follow-Ups:
- Re: simple trick
- From: Moe Trin
- Re: simple trick
- Prev by Date: Re: HOWTO mass fix FileOwnerShip in case of problem
- Next by Date: Re: a problem about "su" command
- Previous by thread: Question about ssh, ulimit -n
- Next by thread: Re: simple trick
- Index(es):
Relevant Pages
|
|