!42

Category: Shell & Bash

!42

Re-execute command number 42 from history

Re-runs a specific command by its history number — the ! followed by a number means 'execute command #42'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.