21/12/13

Linux: History command linem Display timestamp using HISTTIMEFORMAT

http://unix.stackexchange.com/questions/97983/histtimeformat-modification-in-etc-bash-rc-or-etc-profile


Se crea el archivo /etc/profile.d/custom_histformat.sh con el comando:

 echo 'export HISTTIMEFORMAT="%y/%m/%d %T      "' >> /etc/profile.d/custom_histformat.sh

No hay comentarios:

Publicar un comentario