Linux½Å±¾±àд»ù´¡(Îå)
ʵÀý)
ÏÖÔÚÎÒÃÇÀ´ÌÖÂÛ±àдһ¸ö½Å±¾µÄÒ»°ã²½Öè¡£ÈκÎÓÅÐãµÄ½Å±¾¶¼Ó¦¸Ã¾ßÓаïÖúºÍÊäÈë²ÎÊý¡£²¢ÇÒдһ¸öα½Å±¾£¨framework.sh£©£¬¸Ã½Å±¾°üº¬ÁË´ó¶àÊý½Å±¾¶¼ÐèÒªµÄ¿ò¼Ü½á¹¹£¬ÊÇÒ»¸ö·Ç³£²»´íµÄÖ÷Òâ¡£Õâʱºò£¬ÔÚдһ¸öеĽű¾Ê±ÎÒÃÇÖ»ÐèÒªÖ´ÐÐÒ»ÏÂcopyÃüÁ
cp framework.sh myscript
È»ºóÔÙ²åÈë×Ô¼ºµÄº¯Êý¡£
ÈÃÎÒÃÇÔÙ¿´Á½¸öÀý×Ó£º
¶þ½øÖƵ½Ê®½øÖƵÄת»»
½Å±¾b2d ½«¶þ½øÖÆÊý (±ÈÈç 1101) ת»»ÎªÏàÓ¦µÄÊ®½øÖÆÊý¡£ÕâÒ²ÊÇÒ»¸öÓÃexprÃüÁî½øÐÐÊýѧÔËËãµÄÀý×Ó£º
1
#!/bin/sh
2
# vim: set sw=4 ts=4 et:
3
help()
4
{
5
cat <
6
b2h -- convert binary to decimal
7
USAGE: b2h [-h] binarynum
8
OPTIONS: -h help text
9
EXAMPLE: b2h 111010
10
will return 58
11
HELP
12
exit 0
13
}
14
error()
15
{
16
# print an error and exit
17
echo "$1"
18
exit 1
19
}
20
lastchar()
21
{
22
# return the last character of a string in $rval
23
if [ -z "$1" ]; then
24
# empty string
25
rval=""
26
return
27
fi
28
# wc puts some space behind the output this is why we need sed:
29
numofchar=`echo -n "$1" | wc -c | sed 's/ //g' `
30
# now cut out the last char
31
rval=`echo -n "$1" | cut -b $numofchar`
32
}
33
34
chop()
35
{
36&nbs
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
½ñÌìµÚÒ»´ÎÊÔ×ÅÔÚLinuxÏÂдC³ÌÐò£¬°ÑÓöµ½µÄÎÊÌâ¼Ç¼һÏÂ
1. ʹÓÃemacsÃüÁî±à¼³ÌÐòÎļþ£¬ÎÒÖ±½ÓÔÚTerminalÀïÊäÈëÁËemacs£¬Ð´ºÃ³ÌÐò£¬¹Ø±Õ£¬½á¹ûºÍwindowsÀï²»Ò»Ñù£¬²¢Ã»ÓÐÈκÎSaveFileDialogÖ®ÀàµÄ¶Ô»°¿òµ¯³öÀ´£¬×Ô¼ºÐ´µÄ¶«Î÷Ò²²»ÖªµÀ±£´æµ½ÄÄÀïÁË£¬¶øÇÒFile²Ëµ¥ÀïҲûÓÐNewÕâÑùµÄÑ¡Ïî¡£ºóÀ´²ÅÖªµÀ£¬ÔÀ´ÊǵÃÔÚemacsÃüÁîºó ......
¼¶±ð£º ³õ¼¶
½ Ò»·«
(jiangyif@cn.ibm.com
), Èí¼þ¹¤³Ìʦ , IBM
·¶ ÓñÕä
, ¸ß¼¶Èí¼þ¹¤³Ìʦ, IBM
Ëï ÔÃ
, Èí¼þ¹¤³Ìʦ, IBM
2009 Äê 10 ÔÂ 22 ÈÕ
°²
×°£¬Éý¼¶ºÍжÔØÓ¦ÓÃÈí¼þÊÇÓ°ÏìÓû§¶Ô²Ù×÷ϵͳÆÀ¼ÛµÄ¾ö¶¨ÐÔÒòËØÖ®Ò»¡£¶ÔÓÚÈÕ½¥Á÷ÐÐµÄ GNU/Linux
²Ù×÷ϵͳ£¬ÓµÓмò½àÇ¿´óµÄÈí¼þ°ü¹ÜÀí»úÖƹ¦²»¿Éû¡£±¾ÎÄ´Ó»ù±¾µ ......
À´Ô´£º http://www.xxlinux.com/linux/article/accidence/technique/20070125/7209.html
User Debug ÈÕÖ¾¼Ç¼
µ÷ÊÔÒ»¸ö±ÀÀ£µÄ³ÌÐòµÄµÚÒ»²½ÊÇŪÇåÄÄÀï³öÁË´í¡£zSeries ÉϵÄLinuxÄں˾ßÓÐÕâÑùÒ»¸öÄÚÖÃÌØÐÔ£¬ËüÔÚÓû§½ø³Ì±ÀÀ£Ê±¼Ç¼һЩ»ù±¾µÄµ÷ÊÔÐÅÏ¢¡£ÒªÆôÓÃÕâ¸öÌØÐÔ£¬ÇëÒÔ root Óû§Éí·ÝÖ´ÐÐÈçÏÂÃüÁ
echo 1 >& ......