• <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
            久久青青草原国产精品免费| 久久久久亚洲精品无码网址 | 色婷婷久久久SWAG精品| 久久强奷乱码老熟女网站| 精品久久久中文字幕人妻| 亚洲成色999久久网站| 伊人久久精品影院| 999久久久免费国产精品播放| 狠狠色综合网站久久久久久久高清 | 97超级碰碰碰碰久久久久| 色青青草原桃花久久综合| AA级片免费看视频久久| 99久久国产热无码精品免费| 青青草原综合久久大伊人导航| 国产精品九九九久久九九| 亚洲国产欧美国产综合久久 | 久久精品国产亚洲AV无码麻豆| 国产激情久久久久影院小草 | 久久精品国产精品青草app| 奇米综合四色77777久久| 久久只有这精品99| 久久99精品久久久久久不卡| 老司机国内精品久久久久| 97精品依人久久久大香线蕉97| 久久伊人色| 久久精品一区二区三区中文字幕| 精品久久香蕉国产线看观看亚洲| 欧美牲交A欧牲交aⅴ久久| 无码久久精品国产亚洲Av影片| 亚洲性久久久影院| 久久综合久久美利坚合众国| 久久久WWW免费人成精品| 久久国产精品免费一区二区三区| 久久久久久久综合日本亚洲| 99久久久精品| AA级片免费看视频久久| 国产午夜精品久久久久九九| 久久噜噜久久久精品66| 久久久久99这里有精品10| 久久SE精品一区二区| 久久精品国产亚洲AV大全|