[Wylug-help] locate (Was: RAID, mdadm and df)

John Hodrien J.H.Hodrien at leeds.ac.uk
Fri Sep 24 14:23:40 UTC 2010


On Fri, 24 Sep 2010, Smylers wrote:

> I didn't know what the -r switch did, so looked it up. Thanks, that
> sounds useful (all these years I've been piping the output of locate
> into grep, unnecessarily).
>
> However, I think you got lucky that the above command worked! It matches
> any path which contains "/sbin" then zero or more "/"s then "resiz".

Right you are.  I always tend to be a little fast and loose with playing with
locate, as it rarely matters when you get it wrong ;)

jh



More information about the Wylug-help mailing list