Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

Another use for PRE_EXEC

$
0
0
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

Viewing all articles
Browse latest Browse all 1689

Trending Articles