Need to add date to bash history, knowing when some commands were fired.
Before the change:
root@host# history 1 ifconfig 2 ifup eth0 3 ifconfig 4 shutdown -r now
root@host# history 1 ifconfig 2 ifup eth0 3 ifconfig 4 shutdown -r now
Now, make appripriate changes in your bash profile:
echo ‘export HISTTIMEFORMAT=”%d/%m/%y %T “‘ […]
Recent Comments