!string

Category: Shell & Bash

!string

Re-execute the most recent command starting with 'string'

Re-runs the most recent command that starts with 'string'. For example, !git runs your last git command.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.