Sample Header Ad - 728x90

bash history that stores execution time?

6 votes
3 answers
610 views
Is it possible to have your bash history save the **total execution time** of every command you run? i.e. as if every command were prefaced with 'time' and the result was stored in the history along with the command? clarification: I already know that you can add a timestamp of when the command was started - but I would like to know the *total execution time*, not just when it was started.
Asked by slashdottir (169 rep)
Dec 5, 2016, 03:09 PM
Last activity: Jan 14, 2025, 08:50 AM