Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Linux better command history

View gist:1870477
1 2 3 4 5 6 7 8 9 10 11 12
# better command line history: more commands kept, add timestamp
# www.fduran.com
 
# add in /etc/profile
 
HISTSIZE=10000
HISTTIMEFORMAT="%d/%h - %H:%M:%S "
 
# see 'date' formats for other timestamp formats
 
# test after logging in:
history |less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.