The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,708 other followers

ls colour codes on OpenSuSE tumbleweed when accessed from Mac OS X ssh

Posted by jpluimers on 2019/06/07

`ls` colour codes

`ls` colour codes

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 [WayBackcommand 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):

References:

Note that the shell on Mac OS X uses a different way of configuring colours CLICOLOR as described in [WayBacksettings – CLICOLOR and LS_COLORS in bash – Unix & Linux Stack Exchange. I might cover that another day.

Script output:

Global default
Normal file

Directory
Symbolic link
Named pipe
Socket
Door

Block device
Character device

Orphaned symbolic link (on some terminals this also blinks)
Executable
*.cmd (TODO: get description)

*.exe (TODO: get description)
*.com (TODO: get description)
*.bat (TODO: get description)
*.btm (TODO: get description)

*.dll (TODO: get description)
*.tar (TODO: get description)
*.tbz (TODO: get description)
*.tgz (TODO: get description)
*.rpm (TODO: get description)
*.deb (TODO: get description)
*.arj (TODO: get description)
*.taz (TODO: get description)
*.lzh (TODO: get description)
*.lzma (TODO: get description)
*.zip (TODO: get description)
*.zoo (TODO: get description)
*.z (TODO: get description)
*.Z (TODO: get description)
*.gz (TODO: get description)
*.bz2 (TODO: get description)
*.tb2 (TODO: get description)
*.tz2 (TODO: get description)
*.tbz2 (TODO: get description)
*.xz (TODO: get description)

*.avi (TODO: get description)
*.bmp (TODO: get description)
*.fli (TODO: get description)
*.gif (TODO: get description)
*.jpg (TODO: get description)
*.jpeg (TODO: get description)
*.mng (TODO: get description)
*.mov (TODO: get description)
*.mpg (TODO: get description)
*.pcx (TODO: get description)
*.pbm (TODO: get description)
*.pgm (TODO: get description)
*.png (TODO: get description)
*.ppm (TODO: get description)
*.tga (TODO: get description)
*.tif (TODO: get description)
*.xbm (TODO: get description)
*.xpm (TODO: get description)
*.dl (TODO: get description)
*.gl (TODO: get description)
*.wmv (TODO: get description)

*.aiff (TODO: get description)
*.au (TODO: get description)
*.mid (TODO: get description)
*.mp3 (TODO: get description)
*.ogg (TODO: get description)
*.voc (TODO: get description)
*.wav (TODO: get description)

–jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: