Wednesday, January 30, 2019

History Command with Date and Time

cp /etc/profile /opt/profile_bak
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> /etc/profile
source /etc/profile

No comments:

Post a Comment