[kwlug-disc] bash: HISTTIMEFORMAT

Chris Frey cdfrey at foursquare.net
Wed Mar 4 17:03:29 EST 2026


On Wed, Mar 04, 2026 at 08:22:16PM +0000, CrankyOldBugger wrote:
> People have argued that I should have gone with a four digit year format,
> but I am a veteran of the Y2K Wars and can do whatever I want!

In any case, bash stores the timestamp as a unix time integer,
so how you format it is only for display purposes with 'history',
and doesn't affect storage size.

- Chris



More information about the kwlug-disc mailing list