Histórico de comando do Ubuntu

cat ~/.bash_history
less ~/.bash_history

# Or use builtin history
history
Mattiboi