Language Selection

English French German Italian Portuguese Spanish

Highlighting strings in text output with histring

Filed under
HowTos

Recently there was an article on this site discussing adding colour highlighting to grep. Now we're going to look at a general purpose highlighting tool called histring.

If you like to work in console more than X, and like text tools more than GUI ones then histring is definitely a tool for you!

histring simply highlights strings using ANSI terminal escape codes. It is extremely small and lighting fast. I almost use it everywhere in my script where I need a quick peek into large output. Moreover, you almost don't need to learn it, as its syntax is almost identical to grep.

The following two example will turn you into a histring-pro:

Full Story.

More in Tux Machines

Lockheed Open Sources Its Secret Weapon In Cyber Threat Detection

The cybersecurity team at Lockheed Martin will share some defensive firepower with the security community at Black Hat this week with the open source release of an internal advance threat tool it has been using in house for three years now. Dubbed Laika BOSS, this malware detection platform is meant to help security analysts better hunt down malicious files and activity in an enterprise environment. Read more

Bodhi Linux 3.1.0 Pre Invites Users to Test the New Moksha Desktop Environment

Bodhi, a Linux operating system based on Ubuntu that features a minimalist approach and really low system requirements, has just received a testing version for the upcoming 3.1.0 release. Read more

Ubuntu Personal Will Have Unity 8 and Mir by Default and Will Run X Legacy Apps

Ubuntu is planning on converging its operating systems, and this approach will become a lot more obvious in the next couple of years. In the meantime, we found out some interesting things about the future of Ubuntu desktop and Canonical's plans for it. Read more

Announcing the shutdown of the Ada Initiative

It is with mixed feelings that we announce that the Ada Initiative will be shutting down in approximately mid-October. We are proud of what we accomplished with the support of many thousands of volunteers, sponsors, and donors, and we expect all of our programs to continue on in some form without the Ada Initiative. Thank you for your incredible work and support! Read more