How to scan documents from a command-line interface on Linux

Scanimage is a command-line interface to control image acquisition devices such as flatbed scanners or cameras. The device is controlled via command-line options. After command-line processing, scanimage normally proceeds to acquire an image. The image data is written to standard output in one of the PNM (portable aNyMaP) formats (PBM for black-and-white images, PGM for grayscale images, and PPM for[…]

Read more

How to use your .bashrc file

The Bash configuration file can do a lot of things to improve your work: aliases, functions and prompt configurations improve workflow and help to be more efficient. In my recent post about setting up Ubuntu with Bash scripts, I briefly alluded to the magic of .bashrc. This didn’t really do it justice, so here’s a quick post that offers a[…]

Read more