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

linux »ù±¾ÃüÁî

ls  :²é¿´µ±Ç°Ä¿Â¼ÏµÄÎļþ
ls -l ;ÒÔÍêÕû¸ñʽ²é¿´Îļþ
help;²é¿´°ïÖúÐÅÏ¢
man;Ò²ÊDz鿴°ïÖúÐÅÏ¢,µ«ÊDZÈhelp¸üÏêϸ
info;ͬÑùÊDz鿴°ïÖúÐÅÏ¢,±Èman¸üÏêϸ
cp;¿½±´Îļþ(Ò²¿ÉÒÔ¿½±´Ä¿Â¼)
mv;Òƶ¯Îļþ»òÕßÖØÃüÃû
rm;ɾ³ýÎļþ
pwd;²é¿´ÎļþµÄÍêÕû·¾¶
touch ;´´½¨¿ÕÎļþ
cd;¸Ä±äµ±Ç°Â·¾¶
cat;²é¿´ÎļþÄÚÈÝ
more;ÖðÐв鿴
less;ÖðÐв鿴,¿ÉÒÔÉÏ,Ï·­
date;²é¿´µ±Ç°Ê±¼ä
cal;²é¿´µ±Ç°ÔÂÀú
df;ÏÔʾ´ÅÅÌÈÝÁ¿
du;ÏÔʾÎļþÕ¼ÓôÅÅÌ¿Õ¼ä'
head;²é¿´ÎļþÍ·Ê®ÐÐÄÚÈÝ
tail;²é¿´Îļþ½áβʮÐÐÄÚÈÝ
mkdir;´´½¨ÐÂĿ¼
rmdir;ɾ³ý¿ÕĿ¼
rm -rf ;ɾ³ý·Ç¿ÕĿ¼


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

¿ªÊ¼ÎÒµÄLinuxÖ®ÂÃ

È·ÇеÄ˵,ÎÒÊÇ´Ó»ªÇåÔ¶¼ûµÄ¹ÙÍøÉϵÃÖªÓиö½ÐǶÈëʽlinux¾ÍÒµÅàѵ°àµÄ¶«Î÷²Å¶ÔlinuxÓÐЩÈÏʶµÄ,¼ÓÖ®×Ô¼ººÍµ¥Æ¬»ú´òÁË2¸ö¶àÔµĽ»µÀÖ®ºó,Ò²²»ÖªÔõôµØ,ÇÞÊҵļ¸¸ö¼Ò»ï·¢·èËƵĿªÊ¼ÍæFPGA,SOPC,MATLABÖ®ÀàµÄ¶«Î÷,ÎÒ×ÔÈ»²»Ó¦¸ÃÏÐ×Å,»¨ÁËÒ»¶Îʱ¼äÁ˽âDSP,¾õµÃÒªÏÈѧºÃÊý×ÖÐźŴ¦Àí,ÂýÂýÓнӴ¥ARM,È»ºó¶ÔS3C2410µÄ¿ª·¢°åºÜÓÐÐËȤ, ......

linux file lock

linux file lock
linuxµÄÎļþËø·ÖΪÁ½ÖÖ£º
Ò»ÖÖÊÇadvasory lock£¬Ö»Äܱ£Ö¤½ø³ÌÄÚ¶Ôͬһ¸öÎļþËøµÄ»¥³âÓÐЧ£¬µ«ÊǶà¸ö½ø³Ì¿ÉÒÔͬʱ¶ÔÒ»¸öÎļþ¼Ó»¥³âµÄËø£¬ËùÒÔÕâÖÖËøÊǼÓÔÚfile ½á¹¹ÉÏ;Ò»ÖÖÊÇmandatory lock£¬ÕâÖÖËø¿ÉÒÔ±£Ö¤¶à¸ö½ø³ÌÎÞ·¨¶Ôͬһ¸öÎļþ¶¼¼ÓÉÏ»¥³âËø£¬ËùÒÔÕâÖÖËøÊǼÓÔÚinode ½á¹¹Éϵġ£
µ±¼Ómandatroy lockÊ ......

LinuxÖÐÈçºÎÊÍ·ÅcacheÄÚ´æ free


ÒòΪLINUX
µÄÄÚºË
»úÖÆ£¬Ò»°ãÇé¿öϲ»ÐèÒªÌØÒâÈ¥ÊÍ·ÅÒѾ­Ê¹ÓõÄcache¡£ÕâЩcacheÆðÀ´µÄÄÚÈÝ¿ÉÒÔÔö¼ÓÎļþÒÔ¼°µÄ¶ÁдËٶȡ£
ÏÈ˵ÏÂfreeÃüÁîÔõô¿´ÄÚ´æ
[root@ahsq proc]# free
total used free shared buffers cached
Mem: 515588 295452 220136 0 2060 64040
-/+ buffers/cache: 229352 286236
Swap: 682720 112 ......

linux Kill¶à¸ö½ø³Ì

¾­³£ÐèÒªKill¶à¸ö½ø³Ì£¬ÕâЩ½ø³Ì°üº¬¹²Í¬µÄ¹Ø¼ü×Ö£¬¿ÉÒÔÓÃÒ»ÌõÃüÁîKillµôËüÃÇ¡£ ps aux | grep "common" | cut –c 9-15 | xargs kill –9 ¹ÜµÀ·û¡°|¡±ÓÃÀ´¸ô¿ªÁ½¸öÃüÁ¹ÜµÀ·û×ó±ßÃüÁîµÄÊä³ö»á×÷Ϊ¹ÜµÀ·ûÓÒ±ßÃüÁîµÄÊäÈë¡£ÏÂÃæ˵˵ÓùܵÀ·ûÁª½ÓÆðÀ´µÄ¼¸¸öÃüÁ "ps aux" ²é¿´ËùÓнø³ÌµÄÃüÁî¡£Õâʱ¼ìË÷³öµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ