I've been playing with PRE_EXEC lately. Two uses that have been discussed are placing a command timestamp on the command line and starting a command timer which could read (@TIMER) in POST_EXEC.
I have often wished I had a log of commands with timestamps. I don't like the command log because it records expanded commands and commands in batch files; the history log does neither of those. A pretty simple PRE_EXEC alias adds time/id stamps (like the command log) to the history log...
Read more
I have often wished I had a log of commands with timestamps. I don't like the command log because it records expanded commands and commands in batch files; the history log does neither of those. A pretty simple PRE_EXEC alias adds time/id stamps (like the command log) to the history log...
Read more