LoginSignup
3

More than 5 years have passed since last update.

echoコマンドで色を付ける

Last updated at Posted at 2016-09-07

▼ 赤色の文字

$ echo -e "\e[31;mred\e[m"

▼ 文字は黄、背景は赤

$ echo -e "\e[33;41;1mred-yellow\e[m"

以上

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3