D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Error message in Ubunto

 


On 30 Jan 2014 17:09, "Brad Rogers" <brad@xxxxxxxxxxxx> wrote:
>
> On Thu, 30 Jan 2014 16:40:45 +0000
> Kevin Lucas <kevin.lucas@xxxxxxxxxxxxxxxxxx> wrote:
>
> Hello Kevin,
>
> >History is great for this
>
> Up to a point, yes.  Trouble is, it's hard to do fuzzy searches of the
> history, and if I can't remember enough to perform a regular search, I'm
> still stymied.   :-(
>
> By that I mean I can usually recall coming across the problem before,
> but have no idea what the command was to enable me to search for the
> correct solution in the history file.  As a result, I end up going back
> to $FavouriteSearchEngine.  Again.
>

You can suffix your commands with a #comment, that way you can grep your history for the comments too - great way to categorize and tag your command history just in case you know you won't remember exactly what it did.

Grant

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq