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…
Ïà¹ØÎĵµ£º
ÈçºÎÔÚlinux/unixÖÐÉèÖÃÏ̵߳ÄÓÅÏȼ¶
int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg);
À´´´½¨Ị̈߳¬µ«ÊÇÈçºÎÉèÖÃÏ̵߳ÄÓÅÏȼ¶ÄØ£¿
ÔÚÌÖÂÛÕâ¸öÎÊÌâµÄʱºò£¬ÎÒÃÇÏÈҪȷ¶¨µ±Ç°Ïß³ÌʹÓõĵ÷¶È²ßÂÔ£¬posixÌṩÁË
int pthread_attr_getschedpolicy(const pth ......
Linux ÄÚºËÆô¶¯·ÖÎö
1. ÄÚºËÆô¶¯µØÖ·
1.1. Ãû´Ê½âÊÍ
ZTEXTADDR
½âѹ´úÂëÔËÐеĿªÊ¼µØÖ·¡£Ã»ÓÐÎïÀíµØÖ·ºÍÐéÄâµØÖ·Ö®·Ö£¬ÒòΪ´ËʱMMU´¦ÓڹرÕ״̬¡£Õâ¸öµØÖ·²»Ò»¶¨Ê±RAMµÄµØÖ·£¬¿ÉÒÔÊÇÖ§³Ö¶ÁдѰַµÄflashµÈ´æ´¢Öн顣
Start address of decompressor. here's no point ......
Ê×ÏÈ£¬ ÎÒµÄFF°æ±¾ÊÇ3.0.16µÄ£¬´Ó¹ÙÍø£¨http://get.adobe.com/flashplayer/£©ÉÏÏÂÔØ.tar.gz°üºó¡£¡£½âѹ³öÀïÃæµÄÒ»¸ö£ª.soÎļþ
¼þÖ®ºó£¬°Ñ¸ÃÎļþ¸´ÖƵ½/usr/lib/mozillia/pluginsÏ£¬ÖØÆôff¾ÍOKÁË¡£
£¨ÒÔÉÏ·½·¨½ö¹©²Î¿¼£¬ÖÁÉÙÎÒÊÇÕâÑù×öµÄ£¬²¢Çҳɹ¦ÁË£¬£© ......
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ÃüÁîµ ......
1£ºlinuxÏÂÅúÁ¿½«´óдĿ¼»òÎļþÃû¸ÄΪСдÃüÁî
ZIP ÏÈ´ò³É°ü£¬ZIP -r A A/*£¬ÔÙUNZIP -LL A B (A/*±íʾAĿ¼ÏµÄËùÓÐÎļþ)£¨AºÍB¶¼Îª.zipÎļþ,-LL ±ä´óдΪСдµÄ²ÎÊý£©
Ôò£¬A°üÀïµÄ´óдĿ¼ºÍÎļþ ......