News,
Internal,
Projects,
Home Software, Support, Documentation |
FreeBSD ºñ°ø½Ä Çѱ¹¾î FAQ : Å͹̳Π:
ls ÇÒ ¶§ ¸®´ª½ºÃ³·³ Ä÷¯°¡ ³ª¿À°Ô ÇÏ´Â ¹æ¹ýÀº? | |
·¹µåÇÞ °è¿ ¸®´ª½º¿¡¼ ls¸¦ Çغ¸¸é µð·ºÅ丮, ½ÇÇàÆÄÀÏ, DeviceÆÄÀÏ, µîµîÀ» ´Ù¸¥ »ö±ò·Î ³ªÅ¸³»´Â °ÍÀ» º¼ ¼ö ÀÖ½À´Ï´Ù. Ä÷¯°¡ Ç¥½ÃµÇ¸é ÇÑ ´«¿¡ ºü¸£°Ô ÆÄÀÏÀÇ ¼Ó¼ºÀ» ¾Ë ¼ö ÀÖ´Ù´Â ÀåÁ¡ÀÌ ÀÖ½À´Ï´Ù. FreeBSD¿¡¼µµ ÀÌ ±â´ÉÀ» ¾µ ¼ö ÀÖ½À´Ï´Ù. FreeBSD¿¡ ±âº»À¸·Î ¼³Ä¡µÈ ls ÇÁ·Î±×·¥(/bin/ls)·Î´Â µÇÁö ¾Ê°í, /usr/ports/misc/gnuls ¶ó´Â Æ÷Æ®¸¦ ¼³Ä¡ÇÏ¼Å¾ß µË´Ï´Ù. ¼³Ä¡ÇϽŠÈÄ¿¡, % gnuls --color Çϸé ÆÄÀϵéÀÌ ¼Ó¼º¿¡ µû¶ó ´Ù¸¥ »ö±ò·Î Ç¥½ÃµÇ´Â °ÍÀ» º¼ ¼ö ÀÖ½À´Ï´Ù. ±×¸®°í gnuls¸¦ ±âº» ls·Î ÇϽ÷Á¸é, ´ÙÀ½°ú °°ÀÌ ~/.cshrc ÆÄÀÏ¿¡ alias¸¦ ÁöÁ¤ÇÏ½Ã¸é µË´Ï´Ù. alias ls 'gnuls --color' ±×·¯¸é ls ¸¸ Çصµ Ä÷¯°¡ Àß º¸ÀÏ °ÍÀÔ´Ï´Ù.jbkb | |
ÃÖ±Ù¿¡ sysutils/fileutils Æ÷Æ®°¡ Ãß°¡µÇ¾ú½À´Ï´Ù. µû¶ó¼ misc/gnuls ´ë½Å ÀÌ ÆÐÅ°Áö¸¦ »ç¿ëÇصµ °°Àº GNU fileutilsÀÇ ls°¡ ¼³Ä¡µË´Ï´Ù(´Ü À̸§Àº glsÀÔ´Ï´Ù). ±×¸®°í FreeBSDÀÇ ¿ø·¡ ls¿¡µµ Ä÷¯ Áö¿øÀÌ Ãß°¡µÇ¾ú½À´Ï´Ù(4.1ÀÌÈÄ). Å͹̳ΠÁ¾·ù¸¦ Ä÷¯ Áö¿øµÇ´Â °Í(ÄܼÖÀÇ cons25³ª xterm/hantermÀÇ °æ¿ì xterm-color)À¸·Î ÁöÁ¤ÇÏ°í -G ¿É¼ÇÀ» »ç¿ëÇÏ½Ã¸é µË´Ï´Ù. % setenv TERM xterm-color % ls -GFcjh | |
[Append to This Answer] |
Previous: | »ç¿ëÁßÀÎ ½©À» ´Ù¸¥ ½©·Î ¹Ù²Ù·Á¸é ¾î¶»°Ô ÇÏÁÒ? |
|
Copyright © 1998-2003 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org |