Use Mac see the color of Ubuntu Linux terminal display is not very cool feel, whether he is wanted to have the same color skills? Not afraid, we are possible! 1 . Open the configuration file sudo vim ~ / .bash_profile write the following two lines: Export CLICOLOR = 1 Export LSCOLORS = GxFxCxDxBxegedabagaced 2 run command. Source ~ / .bash_profile to make the configuration file to take effect 3 then you will be pleasantly surprised to find files and. folder has a different color it! 4 . Explanation: Export CLICOLOR = . 1 represents a color display Enable Export LSCOLORS = GxFxCxDxBxegedabagaced twenty-two a set of letters, is a different file, folder and set the color background, bold, etc. The following is a detailed correspondence relationship: Directory Catalog (file folder) symbolic link symbolic link socket socket link pipe pipeline executable executable block special character special file character special block special file executable with setuid bit set executable program with different UID running executable with setgid bit set executable program with an additional set of privileges to run the directory writable to others , with Sticky 'bit Directory Writable to Others, Sticky' bit the without particular color: according to this setting your favorite color a black b red c green d brown e blue f magenta g cyan h grayish a bold black B bold red C bold green D bold brown E bold blue F bold magenta G bold cyan H bold light gray x default color
More