Last active
September 5, 2017 07:03
-
-
Save suganoo/f3d32940ce4c5edeebea4f47a98ddf24 to your computer and use it in GitHub Desktop.
echoの出力で色づけする方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e "\e[30m黒色" | |
echo -e "\e[31m赤色" | |
echo -e "\e[32m緑色" | |
echo -e "\e[33m黄色" | |
echo -e "\e[34m青色" | |
echo -e "\e[35m赤紫色(マゼンタ)" | |
echo -e "\e[36m水色(シアン)" | |
echo -e "\e[37m白色" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
最後に
echo -e "\e[37m白色"
すれば元に戻る