I've gotten in the habit of doing a "ctrl-r" in my current shell and then searching for a command I've used.

On Wed, Jan 12, 2011 at 9:19 PM, Franklin Moody <fmoody@moodman.org> wrote:
On Wed, Jan 12, 2011 at 07:24:17PM -0500, Gregory Avedissian wrote:
> The up arrow will take you through your command history in reverse order.
> If you want to see more than one command at a time, open .bash_history in
> your home with a text editor, or, while you're still remembering it, do
> 'more .bash_history'. If you remember the command, but you can't recall
> what options you used with it, 'grep some-command .bash_history' can help.
>
> You can set the system to hold more commands, if you want. In debian, the
> default is to hold the last 500 commands. I don't recall what it is in
> other distros.
>
> Spiral-bound notebook is good, too. A couple of pages of your favorite
> commands and just about anything else will still be readable if the system
> crashes.
>
> Greg Avedissian

       I usually use "history | grep $blah" when looking for a particular set of command line options...  On machines where I don't intentionally disable history for security...

Frank


_______________________________________________
Wlug mailing list
Wlug@mail.wlug.org
http://mail.wlug.org/mailman/listinfo/wlug



--
I am leery of the allegiances of any politician who refers to their constituents as "consumers".