The Unix history command is a critically important tool for reviewing what you and others did on the systems you manage – both for troubleshooting and to make managing systems easier (e.g., What was that command I used last week that worked so well?). In today’s post, we’ll look at some of the options available for capturing the date and time that commands were entered and configuring how that information is displayed.
Capturing the date and time
One option available with your history files is to include in them the date and time that commands were run. This can prove very useful when trying to correlate things that happen on your system with commands that were being run at the time they happened.
To read this article in full or to leave a comment, please click here
Source: COMPUTER WORLD