Polecenie wyświetla wszystkie polecenia działane wcześniej na terminalu
history
# To search for a particular previously used command,
# pass history to grep with a search keyword
history | grep 'Betty'
# A command in history can be rerun by expansion using it's history number
# for Example, the command grep -rE -o --color "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b" ~
# is number 72 in history. To rerun it;
!72
Chris Nzoka-okoye