The manual page and help for the fc built-in Bash command. You can use fc to print, modify, and re-execute previous commands. FIRST and LAST can be numbers that specify a range, or FIRST can be a string that represents the last command that begins that way.