Put A TimeStamp on Bash History
- Aug
- 23
- Posted by TKH Specialist
- Posted in bash, History, linux
Sometimes, it is very helpful to have a timestamp on bash history, that way it’s easier to know the exact time a command was executed. To put a timestamp on history, run the following command; HISTTIMEFORMAT=”%d/%m/%y %T ” That’s all. Next time you run the history command, the history will display with timestamp. Hope someone […]
read moreSplunk Installation
- Feb
- 13
- Posted by TKH Specialist
- Posted in History, Logging, System Administration
Fairly short and sweet to get the agent installed; details are below. 1) Install the appropriate package from a designated and trusted source: 2) The default installation path, ${INSTALL_PATH} = /opt/splunkforwarder 3) Next, create a file with the path /opt/splunkforwarder/etc/system/local/deploymentclient.conf with the contents: [deployment-client] [target-broker:deploymentServer] targetUri = splunkdeploy.uits.uconn.edu:8089 4) Run the following (supplying your own […]
read moreRecent Comments
- Stefan on Flush This!
- Timestamping your Bash History | Matt's Entropy on Remember when you issued that command…?
- Matt Smith on Remember when you issued that command…?
- Ruan on Putting ‘lsof’ to use
- Dylan F. Marquis on External Mapping of LDAP attributes in CAS