INFO :: expands to files and directories that EXIST already

expands to any arbitrary string of a given form:

    an optional preamble

    command separated strings between braces

    an optional postscript

$ echo b{ed,olt.ars}s

beds bolts bars

if TRUE ; then    

     foo

elif

     foo

else     

    foo

fi

while TRUE ; do

     foo

done

$ declare WINDOW="C9-1.4-1.6"

$ echo $WINDOW | cut -d "-" -f 2

1.4

$ echo $WINDOW | cut -d "-" -f 3

1.6

seq 1 10  # prints out 1 thru 10

seq -w 0.00 0.01 1.00

# prints out 0.00 to 1.00, increments of 0.01

# the -w keeps them the same width

Customize Your Colors

The values in LSCOLORS are codes corresponding to different colors for different types of files. The letter you use indicates which color to use, and the position in the string indicates what type of file should be that color. Each color comes in pairs – a foreground color and a background color. Here is a list of color values:

    * a = black

    * b = red

    * c = green

    * d = brown

    * e = blue

    * f = magenta

    * g = cyan

    * h = grey

    * A = dark grey

    * B = bold red

    * C = bold green

    * D = yellow

    * E = bold blue

    * F = magenta

    * G = cyan

    * H = white

    * x = default

And here is a list of the positions in LSCOLORS:

   1. directory

   2. symbolic link

   3. socket

   4. pipe

   5. executable

   6. block device

   7. character device

   8. executable with setuid set

   9. executable with setguid set

  10. directory writable by others, with sticky bit

  11. directory writable by others, without sticky bit

The default is “exfxcxdxbxegedabagacad”, which indicates blue foreground with default background for directories, magenta foreground with default background for symbolic links, etc.