Put A TimeStamp on Bash History

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 more

Splunk Installation

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 more