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

linux shell »ù±¾ÃüÁî

1.²»Ìáʾɾ³ýĿ¼  rm -rf ${dir}
2.rpm ²é¿´²¢Ð¶ÔØÈí¼þ
  rpm -qa | grep ${appname}
  rpm -e ${rpmname}
3.Êýѧ¼ÆËãÖ®bc
  echo "3 + 4 - 5 * 5 - 7 " | bc
 echo "3 + 4 - 5 * 5 - 7 " | bc | read myresult
4.²é¿´½ø³Ì
  ps -ef £ü grep ${tname}
exp: ps -ef | grep java
        ps -ef | grep mysql
5.Æô¶¯/Í£Ö¹·þÎñ
 service ${servername} start
service ${servername} stop
6.ÈÕÖ¾¼à¿Ø
  tail -f  $applog
7.Îļþ²éÕÒ
  grep "${searchcxt}" ${file}
8.Îļþ½ØÈ¡,ÄÚÈÝÌæ»»,ÄÚÈÝÌáÈ¡
 Ìæ»» sed 's/abc/cde/g' $file
 Ìæ»»abcΪcde
 sed -n '1,20p' $file > $newfile 1-20ÐÐÊä³öµ½ÐÅÎļþ
 sed¹¦ÄܺÜÇ¿´ó ½¨Òégoogle


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

LinuxÏÂPatchµÄÓ¦ÓúÍÖÆ×÷·½·¨½éÉÜ


LinuxÏÂPatchµÄÓ¦ÓúÍÖÆ×÷·½·¨½éÉÜ £¨1£©
 
·¢²¼Ê±¼ä£º2007.04.19 06:10     À´Ô´£ºÈüµÏÍø¼¼ÊõÉçÇø    ×÷Õߣºskid
 
ÒòΪÔÚu-bootÒÆÖ²¹ý³ÌÖУ¬Óм¸´¦Í¨ÓÃÎļþÒªÐ޸ģ¬Èç¹ûÿ´Î¶¼ÒªÊÖ¶¯Ð޸ľÍÌ«Âé·³ÁË¡£ÖÆ×÷²¹¶¡¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ¡£
ѧϰ×ÊÁϵÄÊÕ¼¯±È½Ï¼òµ¥£¬ ......

Linux ½Å±¾±àд»ù´¡(Áù)

ÎļþÑ­»·³ÌÐò
»òÐíÄúÊÇÏ뽫ËùÓз¢³öµÄÓʼþ±£´æµ½Ò»¸öÎļþÖеÄÈËÃÇÖеÄÒ»Ô±£¬µ«ÊÇÔÚ¹ýÁ˼¸¸öÔÂÒÔºó£¬Õâ¸öÎļþ¿ÉÄÜ»á±äµÃºÜ´óÒÔÖÁÓÚʹ¶Ô¸ÃÎļþµÄ·ÃÎÊËٶȱäÂý¡£ÏÂÃæµÄ½Å±¾rotatefile¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ¡£Õâ¸ö½Å±¾¿ÉÒÔÖØÃüÃûÓʼþ±£´æÎļþ£¨¼ÙÉèΪoutmail£©Îªoutmail.1£¬¶ø¶ÔÓÚoutmail.1¾Í±ä³ÉÁËoutmail.2 µÈµÈµÈµÈ...
#!/bin/ ......

LINUXÖеÄSWAP·ÖÇø

ÖÚËùÖÜÖª£¬ÏÖ´ú²Ù×÷ϵͳ¶¼ÊµÏÖÁË“ÐéÄâÄÚ´æ”ÕâÒ»¼¼Êõ£¬²»µ«ÔÚ¹¦ÄÜÉÏÍ»ÆÆÁËÎïÀíÄÚ´æµÄÏÞÖÆ£¬Ê¹³ÌÐò¿ÉÒÔ²Ù×Ý´óÓÚʵ¼ÊÎïÀíÄÚ´æµÄ¿Õ¼ä£¬¸üÖØÒªµÄÊÇ£¬“ÐéÄâÄÚ´æ”ÊǸôÀëÿ¸ö½ø³ÌµÄ°²È«±£»¤Íø£¬Ê¹Ã¿¸ö½ø³Ì¶¼²»ÊÜÆäËü³ÌÐòµÄ¸ÉÈÅ¡£ 
Swap¿Õ¼äµÄ×÷Óÿɼòµ¥ÃèÊöΪ£ºµ±ÏµÍ³µÄÎïÀíÄÚ´æ²»¹»ÓõÄʱºò£¬¾ÍÐèÒ ......

linux_ѧϰ±Ê¼Ç_Ŀ¼½á¹¹

linuxĿ¼¼Ü¹¹
/   ¸ùĿ¼
/bin    ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot   ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
     /boot/grub/menu.lst   GRUBÉèÖÃ
     /boot/vmlinuz   ÄÚºË
   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ