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

LinuxÃüÁîÐÐÏÂͳ¼Æµ±Ç°Îļþ¼ÐϵÄÎļþ¸öÊý

ͳ¼ÆÄ³Îļþ¼ÐÏÂÎļþµÄ¸öÊý
 
ls -l |grep "^-"|wc -l
ͳ¼ÆÄ³Îļþ¼ÐÏÂĿ¼µÄ¸öÊý
 
ls -l |grep "^£ä"|wc -l
 
ͳ¼ÆÎļþ¼ÐÏÂÎļþµÄ¸öÊý£¬°üÀ¨×ÓÎļþ¼ÐÀïµÄ¡£
 
 
ls -lR|grep "^-"|wc -l
 
ͳ¼ÆÎļþ¼ÐÏÂĿ¼µÄ¸öÊý£¬°üÀ¨×ÓÎļþ¼ÐÀïµÄ¡£
 
 
ls -lR|grep "^d"|wc -l
 
˵Ã÷£º
ls -l
 
³¤ÁбíÊä³ö¸ÃĿ¼ÏÂÎļþÐÅÏ¢(×¢ÒâÕâÀïµÄÎļþ£¬²»Í¬ÓÚÒ»°ãµÄÎļþ£¬¿ÉÄÜÊÇĿ¼¡¢Á´½Ó¡¢É豸ÎļþµÈ)
 
 
 
grep "^-"
 
ÕâÀォ³¤ÁбíÊä³öÐÅÏ¢¹ýÂËÒ»²¿·Ö£¬Ö»±£ÁôÒ»°ãÎļþ£¬Èç¹ûÖ»±£ÁôĿ¼¾ÍÊÇ ^d
 
 
wc -l
 
ͳ¼ÆÊä³öÐÅÏ¢µÄÐÐÊý£¬ÒòΪÒѾ­¹ýÂ˵Ãֻʣһ°ãÎļþÁË£¬ËùÒÔͳ¼Æ½á¹û¾ÍÊÇÒ»°ãÎļþÐÅÏ¢µÄÐÐÊý£¬ÓÖÓÉ ÓÚÒ»ÐÐÐÅÏ¢¶ÔÓ¦Ò»¸öÎļþ£¬ËùÒÔÒ²¾ÍÊÇÎļþµÄ¸öÊý¡£


Ïà¹ØÎĵµ£º

linux dns ÅäÖÃ

¡¡¢Ù¼ò½é
¡¡¡¡DNS¾ÍÊÇDomain Name System£¬ËüÄܹ»°ÑÐÎÈçwww.21php.comÕâÑùµÄÓòÃûת»»Îª211.152.50.35ÕâÑùµÄIPµØÖ·£»Ã»ÓÐDNS£¬ä¯ÀÀ21php.com Õâ¸öÍøÕ¾Ê±£¬¾Í±ØÐëÓÃ211.152.50.35ÕâôÄѼǵÄÊý×ÖÀ´·ÃÎÊ¡£ÌṩDNS·þÎñµÄ¾ÍÊÇDNS·þÎñÆ÷¡£DNS·þÎñÆ÷¿ÉÒÔ·ÖΪÈýÖÖ£¬¸ßËÙ»º´æ·þÎñÆ÷ (Cache-only server)¡¢Ö÷·þÎñÆ÷(Primary Name serv ......

linux sock_rawԭʼÌ×½Ó×Ö±à³Ì

sock_rawԭʼÌ×½Ó×Ö±à³Ì¿ÉÒÔ½ÓÊÕµ½±¾»úÍø¿¨ÉϵÄÊý¾ÝÖ¡»òÕßÊý¾Ý°ü,¶ÔÓë¼àÌýÍøÂçµÄÁ÷Á¿ºÍ·ÖÎöÊǺÜÓÐ×÷ÓõÄ.Ò»¹²¿ÉÒÔÓÐ3ÖÖ·½Ê½´´½¨ÕâÖÖsocket
 
1.socket(AF_INET, SOCK_RAW, IPPROTO_TCP|IPPROTO_UDP|IPPROTO_ICMP)·¢ËͽÓÊÕipÊý¾Ý°ü
2.socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP|ETH_P_ARP|ETH_P_ALL))·¢ËͽÓÊÕÒÔÌ« ......

LinuxÖÕ¶ËÌáʾ·ûPS1ÉèÖã¨ÑÕÉ«£©


\d £º´ú±íÈÕÆÚ£¬¸ñʽΪweekday month date£¬ÀýÈ磺"Mon Aug 1"
\H £ºÍêÕûµÄÖ÷»úÃû³Æ¡£ÀýÈ磺ÎҵĻúÆ÷Ãû³ÆÎª£ºfc4.linux£¬ÔòÕâ¸öÃû³Æ¾ÍÊÇfc4.linux
\h £º½öÈ¡Ö÷»úµÄµÚÒ»¸öÃû×Ö£¬ÈçÉÏÀý£¬ÔòΪfc4£¬.linuxÔò±»Ê¡ÂÔ
\t £ºÏÔʾʱ¼äΪ24Сʱ¸ñʽ£¬È磺HH£ºMM£ºSS
\T £ºÏÔʾʱ¼äΪ12Сʱ¸ñʽ
\A £ºÏÔʾʱ¼äΪ24 ......

»ùÓÚARM9ºÍLinuxµÄǶÈëʽ´òÓ¡ÖÕ¶Ëϵͳ


ÕÅ Õé
˶ʿÑо¿Éú
ÄϾ©ÐÅÏ¢¹¤³Ì´óѧ601ÐÅÏä,ÄϾ©210044
0 ÒýÑÔ
Ëæ
×Å¿ª·ÅÔ´´úÂëÔ˶¯µÄ·ÉËÙ·¢Õ¹£¬Linux²Ù×÷ϵͳԽÀ´Ô½Êܵ½ÈËÃǵÄÖØÊÓ¡£ÆäÁ¼ºÃµÄ¿É²Ã¼õÐÔÓë¿ÉÒÆÖ²ÐÔ£¬×¿Ô½µÄЧÂʺÍÎȶ¨ÐÔ£¬ÒÔ¼°Ö§³Ö¶àÖÖ´¦ÀíÆ÷Ìåϵ¼Ü¹¹µÄ
ÌØµã£¬Ê¹µÃLinuxÔ½À´Ô½¹ã·ºµÄÓ¦ÓÃÓÚǶÈëʽÁìÓò¡£Í¬Ê±£¬ARM9´¦ÀíÆ÷¸ßÖ÷ƵµÄ´¦ÀíËÙ¶È¡¢´óÈÝÁ¿µÄÉÁ´ ......

ÔÚLinux²Ù×÷ϵͳϽ¨Á¢DHCP·þÎñÆ÷

 
DHCPÊÇDynamic Host Configuration ProtocolµÄÓ¢ÎÄËõд£¬·­Òë¹ýÀ´¾ÍÊǶ¯Ì¬Ö÷»úÅäÖÃͨѶЭÒé¡£ËüµÄ¹¦ÄܾÍÊÇÎªÍøÂçÁ¬½Ó¶¯Ì¬·ÖÅäIPµØÖ·£¬ËüÔÊÐí¿Í»§¶Ë¼ÆËã»úÏòÍøÂç·þÎñÆ÷×Ô¶¯»ñÈ¡ÍøÂçÉèÖá£DHCP·þÎñÆ÷ʹµÃÍøÂç¹ÜÀíÔ±ÔÚ¹ÜÀíÍøÂçÖÐÔÚÍøÂçÖÐÔö¼Ó¡¢É¾³ýÍøÂç½Úµã»òÕßÖØÐÂÅäÖÃÍøÂçʱ£¬¹¤×÷±äµÃ·Ç³£¼òµ¥£¬ÎÞÐëÊÖ¹¤µÄ·ÖÅäIPµØÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ