Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux tail ÃüÁîÏê½â£¡Linux ÎļþÄÚÈݲ鿴¹¤¾ß½éÉÜ

cat ÊÇÒ»¸öÎı¾Îļþ²é¿´ºÍÁ¬½Ó¹¤¾ß¡£²é¿´Ò»¸öÎļþµÄÄÚÈÝ£¬ÓÃcat±È½Ï¼òµ¥£¬¾ÍÊÇcat ºóÃæÖ±½Ó½ÓÎļþÃû¡£
±ÈÈ磺
[root@localhost ~]# cat /etc/fstab
ΪÁ˱ãÓÚÐÂÊÖµÜÐÖÁé»îÕÆÎÕÕâ¸ö¹¤¾ß£¬ÎÒÃǶà˵һµã³£ÓõIJÎÊý£»
1.0 cat Óï·¨½á¹¹£»
cat [Ñ¡Ïî] [Îļþ]...
Ñ¡Ïî
  -A, --show-all           µÈ¼ÛÓÚ -vET
  -b, --number-nonblank    ¶Ô·Ç¿ÕÊä³öÐбàºÅ
  -e                       µÈ¼ÛÓÚ -vE
  -E, --show-ends          ÔÚÿÐнáÊø´¦ÏÔʾ $
  -n, --number             ¶ÔÊä³öµÄËùÓÐÐбàºÅ
  -s, --squeeze-blank      ²»Êä³ö¶àÐпÕÐÐ
  -t                       Óë -vT µÈ¼Û
  -T, --show-tabs          ½«Ìø¸ñ×Ö·ûÏÔʾΪ ^I
  -u                       (±»ºöÂÔ)
  -v, --show-nonprinting   ʹÓà ^ ºÍ M- ÒýÓ㬳ýÁË LFD ºÍ TAB Ö®Íâ
      --help     ÏÔʾ´Ë°ïÖúÐÅÏ¢²¢À뿪
1.1 cat ²é¿´ÎļþÄÚÈÝʵÀý£»
[root@localhost ~]# cat /etc/profile    ×¢£º²é¿´/etc/Ŀ¼ÏµÄprofileÎļþÄÚÈÝ£»
[root@localhost ~]# cat -b /etc/fstab   ×¢£º²é¿´/etc/Ŀ¼ÏµÄprofileÄÚÈÝ£¬²¢ÇÒ¶Ô·Ç¿Õ°×ÐнøÐбàºÅ£¬ÐкŴÓ1¿ªÊ¼£»
[root@localhost ~]# cat -n /etc/profile    ×¢£º¶Ô/etcĿ¼ÖеÄprofileµÄËùÓеÄÐÐ(°üÀ¨¿Õ°×ÐУ©½øÐбàºÅÊä³öÏÔʾ£»
[root@localhost ~]# cat  -E /etc/profile     ×¢£º²é¿´/etc/ϵÄprofileÄÚÈÝ£¬²¢ÇÒÔÚÿÐеĽáβ´¦¸½¼Ó$·ûºÅ£»
cat ¼Ó²ÎÊý-n ºÍnl¹¤¾ß²î²»¶à£¬ÎļþÄÚÈÝÊä³öµÄͬʱ£¬¶¼»áÔÚÿÐÐÇ°Ãæ¼ÓÉÏÐкţ»
[r


Ïà¹ØÎĵµ£º

How to check into Linux OS

I learned some experience while Nanjing found 0x03 error. At begining, we don't know why our GSRM(a linux process) hang in a short time 5 seconds sometimes. It didn't handle any message at that time and the interruption is not regularly. So we assume we have Linux OS problem. We did following checks ......

ǶÈëʽlinuxÆô¶¯ÐÅÏ¢ÍêȫעÊÍ

ÕªÒª
ÎÒÃÇÔÚÕâÀïÌÖÂÛµÄÊǶÔǶÈëʽlinuxϵͳµÄÆô¶¯¹ý³ÌµÄÊä³öÐÅÏ¢µÄ×¢ÊÍ£¬Í¨¹ýÎÒÃǵÄÌÖÂÛ£¬´ó¼Ò»á¶ÔǶÈëʽlinuxÆô¶¯¹ý³ÌÖгöÏֵġ¢ÒÔÇ°¸Ð¾õÊìϤµÄ¡¢µ«È´ÓÖËÆÊǶø·ÇµÄ¶«Î÷ÓÐÒ»¸öÈ·ÇеÄÁ˽⣬²¢ÇÒÄÜÁ˽⵽ÕâЩÊä³öÐÅÏ¢µÄÀ´ÁúÈ¥Âö¡£
ǶÈëʽlinuxµÄÆô¶¯ÐÅÏ¢ÊÇÒ»¸öºÜÖµµÃÎÒÃÇÈ¥ºÃºÃÑо¿µÄ¶«Î÷£¬ËüÄܽ«Ò»·ùËõӰͼ³ÊÏÖÔÚÎÒÃÇÃæÇ°£ ......

LinuxµÄ¹¤×÷¶ÓÁÐ

1£¬ÏÈ¿´¿´¹¤×÷¶ÓÁкÍtaskletµÄÇø±ð£º
    £¨1£© ¶¨Ê±Æ÷ºÍtasklet£º
    Tasklets resemble kernel timers in 3 ways.
      1)They are always run at interrupt time,
      2)they always run on the same CPU that schedules the ......

LinuxÏÂnginxµÄ°²×°

nginx("engine x")ÊÇÒ»¸ö¸ßÐÔÄܵÄHTTPºÍ·´Ïò´úÀí·þÎñÆ÷£¬ÊÇÓɶíÂÞ˹ÈËIgor Sysoev½¨Á¢µÄÏîÄ¿£¬³¬ÇáÁ¿¼¶£¬³¬¿ì´¦ÀíÄÜÁ¦¡£
ĿǰʹÓõÄnginx°æ±¾ÊÇ0.7.61
nginxµÄ¹ÙÑÔÍøվΪ£ºhttp://nginx.net/
ÏÂÔصØַΪ£ºhttp://sysoev.ru/nginx/nginx-0.7.61.tar.gz
nginxÐèÒªpcreµÄÖ§³Ö£¬ËùÒÔÎÒÃÇÐèÒªÏÂÔØpcre
pcreÈ«ÃûΪPerl Compa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ