Shell History with date


Include in /root/.bashrc

# History with date
HISTTIMEFORMAT="%F-%T "
 

 or

HISTTIMEFORMAT="%d/%m/%y %T "

 
Optional: Clear history
history -c 

Logoff and login again.




Vimrc example

 syntax on                   " modo visual/colorido ativo set showmode                " apresenta o modo de utilizacao atual (comm...

Mais vistos