romach
4/11/2017 - 8:57 PM

Bash history

Bash history

# from file
cat ~/.bash_history
# by command
history
# run command by number
!1234
# run last command
!!
# find command
Ctrl+r