linux ÏÂusbÉ豸Çý¶¯ÎÊÌ⣿
linux ÏÂusbÉ豸£¬ÔÚrootȨÏÞÏ£¬É豸¿ÉÒÔÕý³£ÕÒµ½Çý¶¯£¬
µ«ÔÚÆÕͨÓû§ÏÂÕÒ²»µ½É豸Çý¶¯£¬
ÔõÑù²Å¿ÉÒÔÔÚÆÕͨÓû§ÏÂʹÓÃusbÉ豸£¿
Çë¸ßÊÖÖ¸½Ì
°ï¶¥Ï¡¢
ûÓöµ½¹ý£¬ÎÒÓõÄfedoraÆÕͨÓû§Ä¬ÈϵÄÒ²ÄÜÓðɣ¬Ö»ÊÇÄã²»ÄÜжÔØ»òÕß¹ÒÔØÇý¶¯
Ïà¹ØÎÊ´ð£º
ÔÚlinuxÏÂдµÄһЩС³ÌÐòºÍ½Å²½£¬Ã¿´ÎÒªÔËÐж¼ÓÐÇл»µ½ËüËùÔÚµÄĿ¼£¬
ÔõÑùÈÃËüÔÚÆäËûĿ¼Ҳ¿ÉÒÔÓÃÄØ£¿¾ÍÈçÓÃvi»òlsÕâЩÃüÁîÒ»Ñù
³¢ÊÔ¹ýÌí¼Ó»·¾³±äÁ¿£¬µ«²»³É¹¦£¬²»¶®
ûÓÐÈ˻شð
ÏñviÄÇЩ£¬ËüÃÇËùÔÚµÄĿ¼¶¼Å ......
´úÂëÌ«¶à£¬²»ºÃÌù£¬
´óÖÂÉæ¼°µ½ÕâЩ£º
char *arg[MAXSIZE];
char *buffer[MAXSIZE];
.........
arg[k]=(char*)malloc(sizeof(char)*j);
strcpy(arg[k],buffer);
.................[color=#993300][/color]
µ ......
ÈçÌ⣬лл
LinuxÊÇ¿ªÔ´µÄ£¬ÄãËÑË÷LinuxÔ´³ÌÐòĿ¼¾Í¿ÉÒÔÕÒµ½shellÃüÁîtimeµÄʵÏÖ´úÂë¡£
kernel/time.c
ÄãµÄÍ·ÏñºÜ²»´íѽ
ʹÓú¯ÊýtimeΪ½ø³ÌÌṩµ±Ç°µÄʱ¼ä
#include<time.h>
time_t time(time ......
ÔÚlinux»·¾³Ï£¬ÈçºÎÓÃCÓïÑÔÈ¡µÃϵͳµ±Ç°½ø³ÌµÄ×ÜÊý£¿
systemµ÷ÓÃÍⲿÃüÁîps -ef | wc -l µÄ¾ÍÃâ̸ÁË£¬Õâ¸öÎÒ»á
ÄÇ lzÏëÔÚÓû§¿Õ¼ä×ö»¹ÊÇÄÚºË̬×öÄØ£¿
Óû§¿Õ¼äÎÒµÄÏë·¨ÊÇͳ¼Æ/procĿ¼ÏÂÓм¸¸öÊý×ÖÎļþ¼Ð
µ±È» ......
×ÉѯQQ£º269562808
bzip2recover
¹¦ÄÜ˵Ã÷£ºÓÃÀ´ÐÞ¸´Ë𻵵Ä.bz2Îļþ¡£
Óï·¨£ºbzip2recover[.bz2ѹËõÎļþ]
²¹³ä˵Ã÷£ºbzip2ÊÇÒÔÇø¿éµÄ·½Ê½À´Ñ¹ËõÎļþ£¬Ã¿¸öÇø¿éÊÓΪ¶ÀÁ¢µÄµ¥Î»¡£Òò´Ë£¬µ±Ä³Ò»Çø
¿éËð»µÊ±£¬±ã¿ÉÀû ......