I got confused as I thought red text would mean an error.
But they’re not: greenish yellow on a read background means error (a symbolic link to a place that’s no longer there).
It’s the output of https://github.com/gkotian/gautam_linux/blob/master/scripts/colours.sh as the one at
Actually the script is here https://raw.githubusercontent.com/gkotian/gautam_linux/master/scripts/colours.sh as the one at [WayBack] command line – What do the different colors mean in the terminal? – Ask Ubuntu failed with errors like this one:
-bash: *.xbm: bad substitution
The full script output is below.
Since various terminals have a different mapping from colours in the ANSI escape code colour table, I used the standard HTML colours using (which slightly differs from the Terminal.app screenshot on the right):
- HTML colour styles from HTML Color Names and HTML Color Values and
- (since
LS_COLORSusesdircolorswhich depends on the ISO 6429 color encoding) ANSI escape code: Colors.
References:
- [WayBack] dir_colors(5): config file for dircolors – Linux man page
- [WayBack] HTML Color Names and [WayBack] HTML Color Values
- ANSI escape code: Colors – Wikipedia
Note that the shell on Mac OS X uses a different way of configuring colours CLICOLOR as described in [WayBack] settings – CLICOLOR and LS_COLORS in bash – Unix & Linux Stack Exchange. I might cover that another day.
Script output:






