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

Linux Shell ½ø¶ÈÌõÏÔʾº¯Êý£¨±¸Íü£©

1.µãºÅ½ø¶ÈÏÔʾcode 1
#!/bin/sh
#Êä³ö"."½ø¶ÈÌõº¯Êý£¬¼æÈÝbsh¡¢ksh¡¢bash
#Ê×ÏÈtrap 1 2 3 15Ðźţ¬ÖØÒª
trap 'kill $BG_PID;echo;exit' 1 2 3 15
function dots
      {
      stty -echo >/dev/null 2>&1
      while true
      do
      echo -e ".\c"
      sleep 1
      done
      stty echo
      echo
      }
      #---------------------------------------------
      # Ö÷³ÌÐò¿ªÊ¼
      #---------------------------------------------
      #Ê×ÏÈʹdotsº¯Êýºǫ́ÔËÐÐ
      dots &
      BG_PID=$!
      #¿ªÊ¼³ÌÐòÖ÷Ì壬±¾ÀýÖÐÖ´ÐÐÐÝÃß10Ãë
      #×¢Òâ±ØÒªÊ±--8
2.¾®ºÅ½ø¶ÈÏÔʾcode 2
#!/bin/sh
abort() {
   printf  "\033[m\n"
   exit
}
#donothing,justsimulatetimeconsume.
idle() {
   i=1
   sum=`date +%S`
   sum=`expr $sum \* $sum | cut -b1`
   sum=`expr $sum \* 10`
   while [ $i -le $sum ]
   do
       i=`expr $i + 2`
       trap abort 2
   done
}
proc() {
   begin=$1
   end=$2
   row=$3
   pos1=`expr $begin + 1`
   pos2=`expr $end - 1`
   mid=`echo "($begin+$end)/2-2" |bc`
   printf "\033[2J"
   printf "\033[${row};${begin}H["
   printf "\033[${row};${end}H]"
   echo ##########################$pos1 -le $pos2
   while [ $pos1 -le $p


Ïà¹ØÎĵµ£º

ʵս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 ......

»ùÓÚATMEL AT91RM9200µÄǶÈëʽLinuxÒÆÖ²±Ê¼Ç


  Ç°ÃæÀûÓÿª·¢°å´øµÄÏֳɵĶ«Î÷step by stepÈÃLinux 2.4.19ÔÚ¿ª·¢°åÉÏÅÜÆðÀ´ÁË£¬¶ÔÓÚ¿ª·¢µÄÁ÷³ÌÒ²ÓÐÁËÒ»¶¨µÄÈÏʶ¡£ÏÖÔÚÏë¶Ôÿһ²½½øÐÐÏêϸÉîÈëµÄ̽ÌÖ£¬ºÃºÃѧϰһÏ£¬°Ñ±Ê¼Ç¼Ç¼ÏÂÀ´£¬Ê¡µÃÍü¼ÇÁË¡£ÓÐЩÄÚÈÝÊÇ´Ó¿´¹ýµÄÊéÖÐÕªÒª¹ýÀ´µÄ£¬´ó²¿·ÖÊÇ×Ô¼ºÊµ¼ùºóµÄÐĵá£ÎÒÏë¼ÇµÃÏêϸµã£¬Ò²ºÃΪºóÃæ×ܽá´òºÃ»ù´¡¡£
------- ......

Linux(Ubuntu) ÖеÄÂÒÂë½â¾ö´óÈ«(´ýÐø)

   ÓÉÓÚLinux²»ÊÇÖйúÈË¿ª·¢µÄ£¬¿ª·¢¹ý³ÌÖÐÒ²²»ÊÇÒÔÖÐÎÄΪĸÓËäÓÐÖÐÎÄÓïÑÔ°ü£¬ÔÚÈí¼þ¼æÈÝÐÔÉϳöÏÖÖÐÎÄÂÒÂëÒ²ÔÚËùÄÑÃâ¡£ÎÒ³éÈ¡ÍøÂçÉÏǰÈ˵ľ­Ñ飬½áºÏ×Ô¼ºµÄÀí½â£¬½«ËûÃǼÓÒÔ×ܽᣬϣÍû¶ÔºóÀ´ÕßÓÐËù°ïÖú¡£
     1¡¢htmlÎļþÂÒÂ룻
        &nbs ......

RedHat Linux·ÖÇø£¨×ªÔØ£©

Red Hat LinuxµÄ·ÖÇøÊDz»Í¬ÓÚÆäËü²Ù×÷ϵͳ·ÖÇøµÄ£¬ËüµÄ·ÖÇø¸ñʽֻÓÐExt2£¨Ext3£©ºÍSwapÁ½ÖÖ£¬Ext2£¨Ext3£©ÓÃÓÚ´æ·ÅϵͳÎļþ£¬SwapÔò×÷ΪRed Hat LinuxµÄ½»»»·ÖÇø¡£Red Hat LinuxÖÁÉÙÐèÒªÁ½¸öרÃŵķÖÇø£¨Linux NativeºÍLinux Swap£©¿öÇÒ²»Äܽ«Red Hat Linux°²×°ÔÚDos/Windows·ÖÇø¡£Ò»°ãÀ´ËµÎÒÃǽ«Red Hat Linux°²×°Ò»¸ö»ò¶à ......

linuxÏ¿ª·¢Óöµ½µÄÎÊÌ⼯ºÏ

 ¼Ç¼ÔÚlinuxÏ¿ª·¢Óöµ½µÄ¸÷ÖÖÎÊÌ⣬·½±ãÒÔºó²éÕÒ¡£
 
1.¹ØÓÚshellÖнű¾µÄÖ´Ðз½Ê½£ºÔÚµ±Ç°½Å±¾Ö´Ðл¹ÊÇÆô¶¯Ò»¸öеÄshell½ø³ÌÀ´Ö´Ðнű¾¡£
¼ÙÉ赱ǰĿ¼ÏÂÓнű¾script.sh¡£
Æô¶¯Ò»¸öеÄshell½ø³ÌÀ´Ö´ÐУº
ÕâÊÇshellÖÐĬÈϵÄÖ´Ðз½Ê½ÊÇÆô¶¯Ò»¸öеÄshell½ø³Ì£¨×Ó½ø³Ì£©À´Ö´Ðнű¾£¬¼´sh script.sh»òÕ߸³Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ