• <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 默認的 shell 是 bash (提示符是 $)
            在 ~ 先建立一個文件  ~/.bash_profile 
            加入下面的兩行:
            export CLICOLOR=1
            export LSCOLORS=gxfxaxdxcxegedabagacad

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

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

            存盤, 執行 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 逛奔的蝸牛 閱讀(2950) 評論(0)  編輯 收藏 引用 所屬分類: Mac
            久久综合亚洲色HEZYO国产 | 亚洲欧美日韩精品久久亚洲区| 久久久久国产一级毛片高清版| 国产精品伦理久久久久久| 久久影视国产亚洲| 亚洲AV日韩精品久久久久久 | 2021国内久久精品| 狠狠干狠狠久久| 中文字幕无码久久人妻| 久久国产高清字幕中文| 久久亚洲国产精品五月天婷| 久久亚洲AV成人出白浆无码国产| 九九99精品久久久久久| 久久精品一本到99热免费| 2020最新久久久视精品爱| 狠狠色噜噜色狠狠狠综合久久| 一本色道久久88加勒比—综合| 超级碰碰碰碰97久久久久| 国产L精品国产亚洲区久久| 日韩av无码久久精品免费| 久久性生大片免费观看性| 久久久国产精品福利免费 | 久久国产精品免费一区| 亚洲中文久久精品无码| 色婷婷综合久久久久中文字幕| 国产精品福利一区二区久久| 色欲综合久久中文字幕网| 要久久爱在线免费观看| 国产高潮久久免费观看| 久久99精品久久久久久久久久| 久久婷婷是五月综合色狠狠| 久久精品国产WWW456C0M| 国产精品成人久久久久三级午夜电影 | 日日狠狠久久偷偷色综合免费| 中文字幕成人精品久久不卡| 久久精品国产一区二区三区日韩| 久久久久久午夜成人影院| 久久精品国产亚洲av麻豆小说 | 久久精品女人天堂AV麻| 品成人欧美大片久久国产欧美| 狠狠色丁香婷婷久久综合不卡|