Tag Info

Hot answers tagged


If the trailing space is not included in HISTTIMEFORMAT, then you won't have a space between the timestamp and the command. Here are some examples: HISTTIMEFORMAT="%F %T: " This results in: 33916 2014-12-18 11:03:08: echo foo Without the space: HISTTIMEFORMAT="%F %T:" 33916 2014-12-18 11:04:11:echo foo

Only top voted, non community-wiki answers of a minimum length are eligible