Why Egrep?

The grep(1) family of search utilities are very fast. The name stands for Global Regular Expression Print because it searches globally through the files using regular expressions, AKA REs, see regex(7) for more detail, to describe what to find, and then prints its matches. Metacharacters are characters used to describe characters. Filename wildcards are simple examples of … Read more

Get My IP

Using Existing Tools Efficient programming requires planning at both the design stage and the implementation stage. You can only improve an inefficient design so much. When prototyping with bash, work with existing tools. Typical implementation tradeoff is space against time. Using the best tools frequently improves both. Take advantage of their greatest speed and greatest … Read more

Hardware Queries

Several Linux utilities exist for querying and, in some cases, setting the system’s hardware. Run these utilities as root. dmidecode(8) — dnf install dmidecode DMI stands for Desktop Management Interface. This app dumps a great deal of information about the BIOS. Scrolling through the huge output is informative, but narrowing it down with certain options … Read more

Setup F.Lux on Linux

Some years ago, while reading Mark Sisson’s health advice, I found out (directly) about f.lux software. It changes the screen’s color temperature (blue) from my system’s daytime usage into a color temperature more sleep conducive (red) for nighttime usage. At night, red color temperature (a warm color) does not block, maybe even facilitates, melatonin production … Read more