• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            逛奔的蝸牛

            我不聰明,但我會很努力

               ::  :: 新隨筆 ::  ::  :: 管理 ::
            原文: http://www.macfans.com.cn/thread-34827-1-1.html

            Terminal 下不同類型的文件顯示不同的顏色
            Terminal 默認(rèn)的 shell 是 bash (提示符是 $)
            在 ~ 先建立一個(gè)文件  ~/.bash_profile 
            加入下面的兩行:
            export CLICOLOR=1
            export LSCOLORS=gxfxaxdxcxegedabagacad

            存盤, 退出Terminal, 重起Terminal.
            更改LSCOLORS可以有不同的顏色效果。 

            -----------------------------------------------------
            如果你用的是 csh/tcsh (提示符是 %), 建立  ~/.cshrc 加入
            setenv CLICOLOR 1
            setenv LSCOLORS gxfxaxdxcxegedabagacad

            存盤, 執(zhí)行 source ~/.cshrc
            ------------------------------------------------------

            LSCOLORS 的含義:

                LSCOLORS The value of this variable describes what color to use
                for which attribute when colors are enabled with
                CLICOLOR. This string is a concatenation of pairs of the
                format fb, where f is the foreground color and b is the
                background color.

                The color designators are as follows:

                a black
                b red
                c green
                d brown
                e blue
                f magenta
                g cyan
                h light grey
                A bold black, usually shows up as dark grey
                B bold red
                C bold green
                D bold brown, usually shows up as yellow
                E bold blue
                F bold magenta
                G bold cyan
                H bold light grey; looks like bright white
                x default foreground or background

                Note that the above are standard ANSI colors. The actual
                display may differ depending on the color capabilities of
                the terminal in use.

                The order of the attributes are as follows:

                1. directory
                2. symbolic link
                3. socket
                4. pipe
                5. executable
                6. block special
                7. character special
                8. executable with setuid bit set
                9. executable with setgid bit set
                10. directory writable to others, with sticky bit
                11. directory writable to others, without sticky
                bit

                The default is “exfxcxdxbxegedabagacad”, i.e. blue fore-
                ground and default background for regular directories,
                black foreground and red background for setuid executa-
                bles, etc.
            posted on 2008-08-15 14:10 逛奔的蝸牛 閱讀(2958) 評論(0)  編輯 收藏 引用 所屬分類: Mac
            久久综合亚洲色HEZYO社区| 国产真实乱对白精彩久久| 欧美一级久久久久久久大片| 免费精品国产日韩热久久| 欧美精品久久久久久久自慰| 精品久久久无码21p发布| 久久精品国产99久久无毒不卡 | 久久久噜噜噜久久中文福利| 99国产精品久久久久久久成人热| 色综合久久最新中文字幕| 免费无码国产欧美久久18| 久久精品草草草| 久久WWW免费人成一看片| 99久久精品免费看国产一区二区三区| 亚洲精品无码久久久久AV麻豆| 狼狼综合久久久久综合网| 亚洲а∨天堂久久精品9966| 国产精品久久免费| 久久久久精品国产亚洲AV无码| 亚洲国产成人久久精品动漫| 久久久久久久波多野结衣高潮| 51久久夜色精品国产| 久久99精品久久久久久久不卡| 国产精品美女久久久久av爽| 久久人人爽人人爽人人片av高请| 亚洲日本va午夜中文字幕久久| 久久综合久久综合久久| 久久久久99精品成人片直播| 亚洲精品高清一二区久久| 久久国产精品偷99| 国产精品99久久久久久www| 99久久成人国产精品免费| 一本色道久久综合亚洲精品| 久久亚洲精品国产亚洲老地址| 久久伊人影视| 亚洲欧美一级久久精品| 人人狠狠综合88综合久久| 亚洲午夜福利精品久久| 欧美色综合久久久久久| 久久久青草青青亚洲国产免观| 波多野结衣中文字幕久久|