If you use the terminal a lot, then you probably know that correcting misspelled commands can become a tedious task, especially if you are dealing with complex and long commands. A common example is forgetting to add
sudoat the beginning of a long command which forces you to use your keyboard or mouse in order to correct the command.
Fortunately, Bash (i.e. the default shell in many Linux distributions) comes with some useful keyboard shortcuts that allow you to easily edit your commands on the fly.