$ 0 0 bashで文字列に色属性をつけて出力するサンプルです。 サンプルプログラム #!/bin/bash # set -n # set -x set -o ignoreeof set +m set -e …