Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 1999 19:17:01 +0000 (GMT)
From:      "Jon O." <netcmd@networkcommand.com>
To:        Arash Farahmand <afarah@mictlan.sfsu.edu>
Cc:        Greg Lehey <grog@lemis.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Time and history
Message-ID:  <Pine.BSI.3.96.990925191501.24695A-100000@mckenzie.waystation.com>
In-Reply-To: <Pine.SOL.3.95.990925081211.9390B-100000@xolotl.sfsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.96.990925191501.24695A-100000>