Next Previous Contents

5. ¦p¦ó³]©w ls ªº±m¦â¿é¥X

¦pªG§A·Q­n­×§ï ls ¤º©wªº¼Ð·ÇÃC¦â¡A§A»Ý­n¥Î¤U­±ªº«ü¥O¦b§Aªº HOME ¥Ø¿ý¤U»s³y³o¤@­ÓÀÉ®×

 cd ; dircolors -p > .coloursrc 

¦b§A½s¿è§¹³o­Óµù¸Ñªº«Ü¸Ô²ÓªºÀÉ®×¥H«á¡A§A¥²»Ý­n§â¥¦Åª¶i§AªºÀô¹ÒÅÜ¼Æ LS_COLORS ùØ¡A³q±`³£¬O³o¼Ë§@ªº

eval `dircolors .colourrc`
µM«á§A­n§â«e­±³o¤@¦æ©ñ¶i§Aªº .bashrc ©Î .cshrc ©Î .tcshrc (¨Ì·Ó§A¨Ï¥Îªº shell ¦Ó©w)ùØ¡C§ó¸Ô²Óªº¥Îªk½Ð¬Ý dircolors(1) ªº¨Ï¥Î»¡©ú¡C


Next Previous Contents