How to Change the Output Color of Echo on the Linux Shell

Posted by bvirt on Dec 7, 2021 5:35 AM EDT
buildvirtual.net
Mail this story
Print this story

Sometimes it’s nice to be able to change the text, or foreground, color when working with shell scripts or the Linux command line. This is a useful trick as it allows us to make the text more readable and the output more interesting. This can be done using ansi escape codes. This article shows you how.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.