Bash History: How To Show A Timestamp When Each Command Was Executed

Posted by logix on Jul 12, 2019 6:52 AM
By Linux Uprising
Mail this story
Web version

Bash keeps a history of the commands you type, which can be accessed by typing "history". By default you see a number followed by the commands you've used recently. This article explains how to get the Bash history to show the timestamp (date and time) when each command was executed.

Full Story

Printed at http://lxer.com/module/newswire/view/272130/index.html