2 Ways to Re-run Last Executed Commands in Linux

One of the greatest features of Bash is the command history, which stores all commands a user runs, in a history file within his/her home directory (typically /home/$USER/.bash_history ). This allows the user to easily recall, edit, and rerun previous commands.

Originally published at https://www.tecmint.com/run-last-executed-commands-in-linux/