How to capture screenshot for certain commands on linux

I have Linux(Ubuntu, Centos) systems, I need to capture screenshot for each of the below command output and same need to be stored in $HOME/screenshot/path.

Is it possible via (Mobaxterm) ssh terminal using shell script? As i have many systems therefore script method which is equivalent to the print screen option will be helpful.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论