Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2007 08:36:58 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        hackers@freebsd.org, Tim Kientzle <kientzle@freebsd.org>
Subject:   Re: Useful tools missing from /rescue
Message-ID:  <Pine.GSO.4.64.0709030831580.4324@sea.ntplx.net>
In-Reply-To: <20070903120353.GH30502@comp.chem.msu.su>
References:  <20070901073440.GL85633@comp.chem.msu.su> <46DAFE5C.6070806@freebsd.org> <20070903120353.GH30502@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Sep 2007, Yar Tikhiy wrote:

> On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote:
>> Yar Tikhiy wrote:
>>> Hi all,
>>>
>>> I've had to use /rescue recently and felt lack of a few basic tools
>>> in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter,
>>> e.g., sed(1).  Well, in fact most functionality of pgrep(1), head(1),
>>> tail(1), and even tee(1) can be emulated if one has sed(1), but the
>>> tools are so tiny and convenient that it's a pity not to have them
>>> all handy during hard times.
>>>
>>> In addition, there are chflags and chmod in /rescue, but there's
>>> no chown in it, so the toolset is a bit incomplete.
>>
>> Oh, my.  chown was definitely an oversight.  That
>> should have been in there.
>>
>> My opinions:
>>  * head, tail, and tee are no-brainers; just do it.
>>  * sed would be a nice addition.  (I atttempted to
>> fit 'vi' in there, but curses is rather finicky;
>> 'sed' would be more useful.)
>
> Thank you for supporting my idea!

I'm surprised no one has mentioned ftp or fetch.  I don't know how
large they would be if static, but if you have to grab some files over
the network, it can be quite convenient.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0709030831580.4324>