From owner-freebsd-questions Sat Sep 25 12:22:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mckenzie.waystation.com (mckenzie.waystation.com [206.163.147.1]) by hub.freebsd.org (Postfix) with ESMTP id 2FCA214C5A for ; Sat, 25 Sep 1999 12:22:51 -0700 (PDT) (envelope-from netcmd@networkcommand.com) Received: from localhost (netcmd@localhost) by mckenzie.waystation.com (8.9.0/8.9.0) with SMTP id TAA24807; Sat, 25 Sep 1999 19:17:02 GMT Date: Sat, 25 Sep 1999 19:17:01 +0000 (GMT) From: "Jon O." X-Sender: netcmd@mckenzie.waystation.com To: Arash Farahmand Cc: Greg Lehey , freebsd-questions@FreeBSD.ORG Subject: Re: Time and history In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 25 Sep 1999, Arash Farahmand wrote: |Greg, | |On Sat, 25 Sep 1999, Greg Lehey wrote: | |> On Saturday, 25 September 1999 at 6:05:52 +0000, Jon O. wrote: |> > I just have a small suggestion. The history command shows the time |> > commands are executed and I have found this very useful in the past. |> |> I'm not sure I understand what you're talking about here. history is |> a command in some shells, but I don't know any other use, and the |> shell history commands don't associate times with the history items. | |Please correct me if I'm wrong, but upon issuing the 'history' command |from tcsh, three columns are shown on the screen: command (or prompt or |event) number, the "time" the command was issued, and the command itself. This is what I was referring to. I forgot that not everyone uses tcsh and was unaware bash does not report the time. I have used this many times to do post-mortems on dead machine and the like, but I would find it much more useful if it reported the second as well. Thanks, Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message