Forrest logo
back to the import tool

import:tldr:d7c48

import: Capture the entire X server screen in the PostScript image format.
$ import -window root ${output-postscript}
try on your machine

This command imports the screenshot of your entire screen (root window) and saves it as a postscript file with the name provided in the ${output-postscript} variable.

Here's a breakdown of the command:

  • import: This is a command-line utility used to capture screenshots in the X Window System.
  • -window root: The -window flag specifies that you want to capture a screenshot of a specific window. In this case, root refers to the root window, which represents the entire display.
  • ${output-postscript}: This is a variable that represents the name of the output file. It could be something like "screenshot.ps". The file will be saved as a postscript file format (.ps).

Overall, the command captures a screenshot of the entire screen (root window) and saves it as a postscript file with the given name.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the import tool