Linux & terminal color & command line color
Linux & terminal color & command line color
how to change Linux terminal color
https://askubuntu.com/questions/558280/changing-colour-of-text-and-background-of-terminal
https://askubuntu.com/a/558422
# 92: Light Green
# 107: White (don't use with light foreground)
$ echo -e "\e[1;92;107m"
ls colors
https://linuxhint.com/ls_colors_bash/
$ ls colors
$ echo $LS_COLORS
$ dircolors -b >> .bashrc
$ vim ~/.bashrc
$ source ~/.bashrc
https://unix.stackexchange.com/questions/148/colorizing-your-terminal-and-shell-environment
bash shell script
#!/bin/bash
for((i=16; i<256; i++)); do
printf "\e[48;5;${i}m%03d" $i;
printf '\e[0m';
[ ! $((($i - 15) % 6)) -eq 0 ] && printf ' ' || printf '\n'
done
https://askubuntu.com/questions/558280/changing-colour-of-text-and-background-of-terminal
Adblock detected 😱
https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/
https://www.tecmint.com/customize-bash-colors-terminal-prompt-linux/
refs
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10936784.html
未经授权禁止转载,违者必究!