how to check the history command in linux last command prompt date code example Example: linux history with time HISTTIMEFORMAT="%d/%m/%y %T " history