linuxÏÂbinÎļþ°²×°
At first you have to open a terminal/bash and then enter:
file /path/file.bin
for example file /home/user/file.bin (file is the command)
Now you should see a sentence including the word “executable” and not “non-executable, not executable,… or something completely different)
If you do not see “executable,…)” the file is probably an cd-image(BIN/CUE) and not an executable .bin-file
Now enter:
chmod +x file.bin
No path! Just the name of the file!!! Now the file is executable…
Last step: Type in
/path/file.bin
, for example /home/user/file.bin and the file will be executed…
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
Ò»¡¢GCC (×î×î³£¼û:gcc hello.c –o hello) ¢Ù³£ÓÃÑ¡Ïî -c:½ö¶ÔÔ´Îļþ½øÐбàÒë
-o:¶ÔÉú³ÉµÄ´úÂë½øÐÐÓÅ»¯£¬ÓÐ0£¬1£¬2£¬3ËĸöµÈ¼¶£¬Ä¬ÈÏΪ2
-g:¼ÓÈëµ÷ÊÔÐÅÏ¢
-I dir:±àÒëÔ´ÎļþÊÇÔö¼ÓÒ»¸öËÑË÷¿âÎļþµÄĿ¼
-w:½ûÖ¹ËùÓо¯¸æ
-W warning:ÔÊÐí ......
°æÈ¨ÉùÃ÷
±¾ÎÄ×÷ÕßÊÇһλ×ÔÓÉÈí¼þ°®ºÃÕߣ¬ËùÒÔ±¾ÎÄËäÈ»²»ÊÇÈí¼þ£¬µ«ÊDZ¾×Å GPL µÄ¾«Éñ·¢²¼¡£ÈκÎÈ˶¼¿ÉÒÔ×ÔÓÉʹÓá¢×ªÔØ¡¢¸´ÖƺÍÔÙ·Ö·¢£¬µ«±ØÐë±£Áô×÷ÕßÊðÃû£¬Ò಻µÃ¶ÔÉùÃ÷ÖеÄÈκÎÌõ¿î×÷ÈκÎÐÎʽµÄÐ޸ģ¬Ò²²»µÃ¸½¼ÓÈÎºÎÆäËüÌõ¼þ¡£Äú¿ÉÒÔ×ÔÓÉÁ´½Ó¡¢ÏÂÔØ¡¢´«²¥´ËÎĵµ£¬µ«Ç°ÌáÊDZØÐ뱣֤ȫÎÄÍêÕû×ªÔØ£¬°üÀ¨ÍêÕûµÄ°æÈ¨ÐÅÏ¢ºÍ× ......
0 ÒýÑÔ
΢´¦ÀíÆ÷µÄ²úÉúΪ¼Û¸ñµÍÁ®¡¢½á¹¹Ð¡ÇɵÄCPUºÍÍâÉèµÄÁ¬
½ÓÌṩÁËÎȶ¨¿É¿¿µÄÓ²¼þ¼Ü¹¹£¬ÕâÑù£¬ÏÞÖÆÇ¶Èëʽϵͳ·¢Õ¹µÄÆ¿¾±¾ÍÍ»³ö±íÏÖÔÚÁËÈí¼þ·½Ãæ¡£¾¡¹Ü´Ó°ËÊ®Äê´úÄ©¿ªÊ¼£¬ÒÑ¾Â½Ðø³öÏÖÁËһЩǶÈëʽ²Ù×÷ϵͳ(±È½ÏÖø
ÃûµÄÓÐVxwork¡¢pSOS¡¢NeculeusºÍWindows
CE)¡£µ«ÕâЩרÓòÙ×÷ϵͳ¶¼ÊÇÉÌ ......
linuxÖжÔ×Ö·û´®µÄ´¦Àí£º
1.×Ö·û´®·Ö¸îÀýÈç AAAAA-BBBBBB °´-·Ö¸îȥǰºóÁ½²¿·Ö
cut £º
[rich@localhost ~]$ str=AAAAA-BBBBBB
[rich@localhost ~]$ echo $str | cut -d "-" -f 1
AAAAA
[rich@localhost ~]$ echo $str | cut -d "-" -f 2
BBBBBB
½âÊÍ£ºA £ü B ½«AÃüÁîµ ......