I wanted to take screenshots of about 15 Websites, but didn’t want to install any plugins as I wouldn’t use them often. I saw a lot of how-to’s using import from Imagemagick but they capture the whole screen, not clearly what I was looking for.
Using chromium, xwininfo (from X) and import, I made this bash script which captures only the webpage. See below for the Source code.
Continue reading “Script to capture a screenshot (with Chromium) (Command-line)”
Grep is a very useful tool in the Unix world. If you don’t know it already, it is very much like a search tool. It can search for a text or pattern in one or multiple input files or data coming from (unix) pipes.
Most of the Linux distributions out there offer three ways to use Grep from the command-line (aka terminal): grep, fgrep, and egrep.
Continue reading “Differences between grep, fgrep, egrep…”