get command history for more than a year code example Example: linux history with time HISTTIMEFORMAT="%d/%m/%y %T " history