From owner-freebsd-questions Sat Aug 3 12:20:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66F1337B407 for ; Sat, 3 Aug 2002 12:20:05 -0700 (PDT) Received: from njam.myip.org (bkg8100by4lk.bc.hsia.telus.net [142.173.32.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id C131343E3B for ; Sat, 3 Aug 2002 12:20:03 -0700 (PDT) (envelope-from viktorlazlo@telus.net) Received: from localhost (viktorlazlo@localhost) by njam.myip.org (8.11.6/8.11.6) with ESMTP id g6TKnYa28391; Mon, 29 Jul 2002 13:49:35 -0700 (PDT) (envelope-from viktorlazlo@telus.net) X-Authentication-Warning: njam.myip.org: viktorlazlo owned process doing -bs Date: Mon, 29 Jul 2002 13:49:33 -0700 (PDT) From: Viktor Lazlo X-X-Sender: viktorlazlo@njam.myip.org To: karl agee Cc: freebsd-questions , Tri-Cities Linux User Group <3clug@3clug.org> Subject: Re: parsing a bash history In-Reply-To: <1027969264.1039.68.camel@enterprise.workgroup> Message-ID: <20020729134752.R989-100000@njam.myip.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 29 Jul 2002, karl agee wrote: > Is there any way to parse a bash command history file (w/o scrolling) to find **that one > command** you did???? > > --karl The bash builtin command fc lets you display or edit commands from the bash history. "help fc" gives you the basic information and options. Cheers, Viktor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message