Data no history

Hoje a dica é bem simples, incluir a data no histórico (history do terminal).

Root:

cat >> /root/.bashrc << EOF
export HISTTIMEFORMAT="%F-%T "
EOF
ShellScript

Oracle:

cat >> /home/oracle/.bashrc << EOF
export HISTTIMEFORMAT="%F-%T "
EOF
ShellScript

Leave a Reply

Your email address will not be published. Required fields are marked *

search previous next tag category expand menu location phone mail time cart zoom edit close