Create a gist now

Instantly share code, notes, and snippets.

@fduran /gist:1870477
Last active Sep 30, 2015

What would you like to do?
Linux better command history
# better command line history: more commands kept, add timestamp
# add in /etc/profile
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