ºìÁªLinuxÃÅ»§
Linux°ïÖú

tail ÃüÁî

·¢²¼Ê±¼ä:2009-01-28 22:06:07À´Ô´:ºìÁª×÷Õß:videoout
Óë head ÃüÁîÇ¡Ç¡Ïà·´µÄÊÇ tail ÃüÁʹÓà tail ÃüÁÄã¿ÉÒԲ鿴Îļþ½áβµÄÊ®ÐС£ÕâÓÐÖúÓڲ鿴ÈÕÖ¾ÎļþµÄ×îºóÊ®ÐÐÀ´ÔĶÁÖØÒªµÄϵͳÏûÏ¢¡£Ä㻹¿ÉÒÔʹÓà tail À´¹Û²ìÈÕÖ¾Îļþ±»¸üеĹý³Ì¡£Ê¹Óà -f Ñ¡Ïtail »á×Ô¶¯ÊµÊ±µØ°Ñ´ò¿ªÎļþÖеÄÐÂÏûÏ¢ÏÔʾµ½ÆÁÄ»ÉÏ¡£ÀýÈ磬Ҫ¼´Ê±¹Û²ì /var/log/messagesµÄ±ä»¯£¬ÒÔ¸ùÓû§Éí·ÝÔÚ shell ÌáʾϼüÈëÒÔÏÂÃüÁ

tail -f /var/log/messages

³ö×Գ´¿.Red Hat Linux 9 ÍøÂç·þÎñÈëÃÅÓë½ø½×
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. hanbingcs ÓÚ 2012-04-23 17:06:27·¢±í:

    ѧϰÏ£¬tailºÜÉÙÓã¡

  2. nooway ÓÚ 2009-02-12 20:26:57·¢±í:

    ¿´À´ËùÓеÄɳ·¢¶¼Å¼µÄÁË