get ubuntu commands history code example
Example 1: ubuntu command history
cat ~/.bash_history
less ~/.bash_history
# Or use builtin history
history
Example 2: run command from history ubuntu
Use Key combination Ctrl - r, you will be able to use keyword to search bash history.
OR
In bash, just !636 will be ok.