Hack 53. Execute a specific command from history In the following example, If you want to repeat the command #4, execute !4 as shown below.