Re: .bash_history
From: Alex Malinovich (demonbane_at_the-love-shack.net)
Date: 11/21/05
- Previous message: Clive Menzies: "Re: .bash_history"
- In reply to: Oliver Lupton: "Re: .bash_history"
- Next in thread: Ralph Katz: "Re: .bash_history"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Mon, 21 Nov 2005 02:25:57 -0800
On Sun, 2005-11-20 at 23:45 +0000, Oliver Lupton wrote:
> On Sun, 20 Nov 2005 22:17:59 +0000
> Adam Hardy <adam.ant@cyberspaceroad.com> wrote:
>
> > I rely on .bash_history alot to remind me what command syntax to use - I
> > don't scroll back thro the history with the up button, I just grep the
> > .bash_history file for the command I want to run.
> >
> > This used to work until recently when I found that the .bash_history had
> > been transformed into a data file, instead of the ASCII text that I was
> > used to.
> >
> > I don't know what caused this. But I deleted the file and carried on.
> > For a while the .bash_history file returned as ASCII text, but now it's
> > happened again.
> >
> > What am I doing wrong?
--snip--
> Try using the 'history' command instead, grep it by piping it:
>
> history | grep mycommand
Or save yourself some typing and just use Ctrl-R. If the first result
isn't the one you're looking for just push Ctrl-R again for each
additional match.
-- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: This is a digitally signed message part
- Previous message: Clive Menzies: "Re: .bash_history"
- In reply to: Oliver Lupton: "Re: .bash_history"
- Next in thread: Ralph Katz: "Re: .bash_history"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]