fc

Updated: September 28, 2024

This command will allow editing and re-execution of commands contained in history.


ARGUMENTS

fc [-e editor] [-lnr] [first] [last]

    -l      # tail listing of last commands
    -n      # removes lines numbers (used with l)
    -r      # list lines in reverse order (used with l)

EXAMPLES

fc 248 255   # after using -l you can select all the lines to edit