import command in Linux system is used for capturing a screenshot for any of the active pages we have and it gives the output as an image file. You can capture a single window if you want or you can take the entire screen or you can take a screenshot of any rectangular portion of the screen.
Syntax:
import [options] output-file
import command with help option: It will print the general syntax of the command along with the various options that can be used with the import command as well as gives a brief description about each option.
Example:
Options:
- -adjoin: With the help of this option you will be able to join images into a single multi-image file.
import -adjoin sample.png
- -border: This option is used to include window border in the output image.
import -border sample.png
- -descend: This option obtain image by descending window hierarchy.
import -descend sample.png
- -frame: This option will include window manager frame.
import -frame sample.png
- -identify: This option is being used to identify the format and characteristics of the image.
import -identify sample.png
- -quiet: This option will suppress all warning messages.
import -quiet sample.png
- -monitor: This option will monitor the progress.
import -monitor sample.png
- -screen: This option will select image from root window.
import -screen sample.png
Other available options in the import command are:
Recommended Posts:
- Why import star in Python is a bad idea
- Difference between node.js require and ES6 import and export
- Different ways to import csv file in Pandas
- What is the best way to include CSS file? Why use @import?
- How to import config.php file in a PHP script ?
- ES6 | Import and Export
- How to Import another TypeScript Files ?
- How to import SASS through npm ?
- What is the difference between declarations, providers, and import in NgModule?
- 'IPCS' command in Linux with examples
- select command in Linux with examples
- Sed Command in Linux/Unix with examples
- ZIP command in Linux with examples
- SORT command in Linux/Unix with examples
- Cat command in Linux with examples
- Head command in Linux with examples
- Tail command in Linux with examples
- wc command in Linux with examples
- tar command in Linux with examples
- atrm command in Linux with examples
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.













