Linux CLI

Discussion in 'Programming/Scripts' started by noego, Oct 10, 2007.

  1. noego

    noego New Member

    does anyone know where I can find documentation regarding linux cli file color coding. Not how to change them but what they mean? Can't find anything on Google. I also have a red blinking square around rc on /etc and have no idea what the hell it means or what the hell I might have done? Ooops...maybe?
    Can't find any documentation on any of this.
    Seems I did an MV command from root to /etc and am thinking I botched something up. Never noticed that blinking red square before....:confused: Thanks in advance,
     
  2. noego

    noego New Member

    to all...
    Nevermind...figured it out. Thx anyway...
     
  3. noego

    noego New Member

    Fixed

    nevermind!
    Just reversed my mv cmd and it all seems to be fine.
    Thx anyway...
    :)
     
  4. sjau

    sjau Local Meanie Moderator

  5. bogus

    bogus New Member

    LS_COLORS environment variable

    Hi,

    Just had a peek at the env space (just enter the command env) and found the following variable.

    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:eek:r=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:

    The digits no doubt have to do with termcap entries or some such, you can play around with the entries. Eg - I just changed di=00;34 to just 00 - the directory entries are just plain black now instead of dark blue.

    cheers.
     

Share This Page