[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sed or awk: remove a line from a file



On 28 May 2010 15:38, Tixy <debianuser@tixy.myzen.co.uk> wrote:
> The -i option edits files in place, so...
>
>    sed -i 44d ~/.ssh/known_hosts
>

Thanks, I was simply missing the -i option. My weekend starts in less
than one hour, must be related.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


Reply to: