Add Timestamp for history for bash shell prompt
Page 1 of 1
Add Timestamp for history for bash shell prompt
sudo gedit /etc/bash.bashrc
now look for shopt
and make this line
shopt -s checkwinsize
export HISTTIMEFORMAT= "%a%b%d - %r "
to test close terminal shell window and re open and type history
now look for shopt
and make this line
shopt -s checkwinsize
export HISTTIMEFORMAT= "%a%b%d - %r "
to test close terminal shell window and re open and type history
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|