Add Timestamp for history for bash shell prompt

View previous topic View next topic Go down

Add Timestamp for history for bash shell prompt

Post by jamied_uk on 16th March 2013, 01:27

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
avatar
jamied_uk
Admin

Posts : 2260
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum