Forum Discussion

jlarger's avatar
jlarger
Icon for Cirrus rankCirrus
Oct 07, 2022

Capturing load sys config verify errors to a file

If I pipe tmsh load sys config verify to file, and an error is generated, the system message for that error is not captured to the file.   I am simply using: tmsh load sys config verify >> /path/na...
  • iaine's avatar
    Oct 07, 2022

    Try using

    tmsh load sys config verify &> /path/name.txt

    to get both standard error and command output