fc is a bash built-in for listing, editing and re-executing commands previously entered into an interactive shell.