Menu

the fc command should allow you to save the history to a file instead of complaining about invalid commands

Anonymous
2016-05-03
2016-05-05
  • Anonymous

    Anonymous - 2016-05-03

    fc -l >log produces an error about invalid parameters. It should really just write the lines of text to the file.

     
  • Lowell Boggs, Jr.

    While waiting for this to be fixed, the fc command (without the -l argument) can be used to edit the recent history -- with the purpose of re-executing it. The lines of interest can be saved to another file rather than being re-executed. Of course you have to delete them out of the edit session to prevent re-execution.

     

Anonymous
Anonymous

Add attachments
Cancel