Command History

MSGMX remembers previous commands entered and you can use this capability to recall previous commands and rerun them as-is or edit them before re-execution.

You can access your command history in the following ways:

  • Navigate through the history using up / down arrow keys.
  • Type ' / ' to search through the history. Characters typed after the '/' are used as search patterns, and you see a drop-down menu of matching terms. The search is done in an unanchored manner, so any commands in your history containing the search string in any location within the command will be displayed.
  • Display all retained history commands (e.g., msgmx show history).
  • Use regular expressions to narrow down selections from the history drop-down.

 

You can control your history-related settings with the following commands:

  • Set the number of saved commands (e.g., msgmx set history-depth 200).
  • Export stored history commands (e.g., msgmx history export <FilePath> ).
  • Clear the history contents (e.g., msgmx history flush).