linux操作系统 scrot命令手册

scrot

Screen capture utility.

  • Capture a screenshot and save it to the current directory with the current date as the filename:

scrot

  • Capture a screenshot and save it as "capture.png":

scrot {{capture.png}}

  • Capture a screenshot interactively:

scrot --select

  • Capture a screenshot from the currently focused window:

scrot --focused