Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
echoの出力で色づけする方法
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白色"
@suganoo

This comment has been minimized.

Copy link
Owner Author

commented Sep 5, 2017

最後に echo -e "\e[37m白色" すれば元に戻る

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.