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

linuxϵͳ¹ÜÀí

½ø³Ì¹ÜÀí£º
×Ô¶¯Ö´Ðнø³ÌµÄÃüÁatºÍbatch¡£ÆäÖÐatÖƶ¨½ø³ÌÖ´ÐеÄʱ¼ä£¬batchÔÚϵͳ¿ÕÏÐʱ×Ô¶¯Ö´ÐС£crontab¿ÉÒÔÖÜÆÚÐÔµÄÖ´Ðнø³Ì£¬±ÈÈçÈÃij½Å±¾ÖÜÆÚÐÔµÄÖ´ÐУ¬³£ÓÃÓÚϵͳ¼à²â¡£ËüµÄÃüÁî¸ñʽÈçÏ£º
ʱ³Ì±íµÄ¸ñʽÈçÏÂ
:
f1 f2 f3 f4 f5 program
ÆäÖÐ f1 ÊDZíʾ·ÖÖÓ£¬f2 ±íʾСʱ£¬f3 ±íʾһ¸öÔ·ÝÖеĵڼ¸ÈÕ£¬f4 ±íʾÔ·ݣ¬f5 ±íʾһ¸öÐÇÆÚÖеĵڼ¸Ìì¡£program ±íʾҪִÐеijÌʽ¡£
¾ßÌå¿É²Î¼û£ºhttp://baike.baidu.com/view/1229061.htm
psºÍtopÃüÁÊÇÓÃÀ´²é¿´½ø³Ì״̬µÄ£¬²»Í¬µãÔÚÓÚpsÊǾ²Ì¬ÏÔʾ£¬topÊǶ¯Ì¬ÏÔʾ¡£top»¹ÄÜÏÔʾcpu£¬Äڴ棬ÐéÄâÄÚ´æµÄʹÓÃÇé¿ö¡£
pstree£ºÊ÷×´ÏÔʾ½ø³Ì¡£
nice£º³ÌÐòµÄÓÅÏȼ¶ÉèÖá£
kill+½ø³ÌºÅ ½áÊø½ø³Ì£¬µ«ÊÇpsÃüÁîÈç¹û²»¼Ó-eÑ¡Ï²»»áÏÔʾ´ò¿ªµÄ½ø³Ì£¬¼ÓÁË-eÏÔʾÁ˺ܶ࣬ÓÖ²»ÖªµÀË­´ú±íË­
²é¿´µ±Ç°Ê¹ÓõÄShell£ºecho $SHELL 
¸ü¸ÄShell£ºchsh  ²»ÖªµÀ²ÎÊýÔõôÉ裬ÓÐʱ¼äÔÙÊÔÊÔ¡£ 
ÍøÂç¹ÜÀí£º
ifconfig£ºÓÃÓÚÅäÖò¢²é¿´ÍøÂç½Ó¿ÚµÄÅäÖÃÇé¿ö.ifconfig eth0 192.168.0.254 netmask 255.255.255.0 //ÅäÖÃeth0µÄIPµØÖ·£¬²¢¼¤»î
netstat£ºÏÔʾÍøÂçÁ¬½Ó¡¢Â·ÓɱíºÍÍøÂç½Ó¿ÚÐÅÏ¢£¬¿ÉÒÔÈÃÓû§µÃ֪Ŀǰ¶¼ÓÐÄÄЩÍøÂçÁ¬½ÓÕýÔÚÔË×÷¡£netstat -na ¿ÉÒԲ鿴MySQLµÈ·þÎñÊÇ·ñ¿ªÆô£¬ÒÔ¼°¶Ë¿ÚºÅ¡£  
netstat -i ÏÔʾÍø¿¨ÔËÐÐÇé¿ö   netstat -r ²é¿´Ö÷»úµÄ·ÓÉÁбí
route£ºÕâ¸öÃüÁî¿ÉÒÔΪifconfigÃüÁîÅäÖõÄÍø¿¨ÉèÖþ²Ì¬Â·ÓÉ¡£
ÎÒÃÇͨ¹ý¼¸¸öÀý×ÓÀ´ËµÃ÷ÈçºÎʹÓÃrouteÃüÁ
route add -net 127.0.0.0
Õâ¸öÃüÁÏò·ÓɱíÖÐÌí¼ÓÒ»¸öÖ¸¶¨µØÖ·»òÕßÍøÂçµÄ·ÓÉ¡£×¢Òâ´ËʱÍøÂçΪAÀàµØÖ·£¬ÑÚÂë±»ÉèÖÃΪ255.0.0.0£¬Õâ¸öÐÂÌí¼ÓµÄÌõÄ¿±»Á¬½Óµ½loÉ豸ÉÏ¡£
route add -net xxx.xxx.xxx.xxx netmask 255.255.255.0 dev eth0
Õâ¸öÃüÁîΪIPµØַΪxxx.xxx.xxx.xxxµÄÖ÷»úÔö¼ÓÒ»¸ö·ÓÉ£¬ËüµÄÍøÂçÑÚÂë±»ÉèÖÃΪ255.255.255.0¡£
route del -net xxx.xxx.xxx.xxx
´ËÃüÁɾ³ýxxx.xxx.xxx.xxxÕâ¸öÍøÂçµÄ·ÓÉ¡£
ʹÓÃrouteÃüÁ¿ÉÒԺܷ½±ãµØ¶ÔÕû¸öÍøÂçµÄ·ÓÉÐÅÏ¢½øÐйÜÀí£¬ÆäÊä³ö½á¹ûÊÇÍøÂçµÄ·ÓÉ±í¡£
traceroute£ºÓÃÓÚÏÔʾÊý¾Ý°üµ½´ïÄ¿µÄÖ÷»úËù¾­¹ýµÄ·ÓÉ¡£
tcpdump£ºÓÃÓÚ¼àÊÓTCP/IPÁ¬½Ó²¢Ö±½Ó¶ÁÈ¡Êý¾ÝÁ´Â·²ãµÄÊý¾Ý°üÍ·¡£tcpdump -i eth0 src host
hostname ¿ÉÒÔ¶ÁÈ¡Ö÷»úhostname·¢Ë͵ÄËùÓÐÊý¾Ý£»tcpdump -i eth0 src host hostname
¿ÉÒÔ¼àÊÓËùÓÐË͵½Ö÷»úhostnameµÄÊý¾Ý°ü¡£
nslooku


Ïà¹ØÎĵµ£º

ÈçºÎÔÚWINDOWSºÍLinuxÏÂÅäÖû·¾³±äÁ¿

ÍøÂçÉϺÍÊéÉÏÓи÷ÖÖÅäÖÃJDK»·¾³±äÁ¿µÄ·½·¨£¬µ«ÊÇÈ·ÃèÊö²»Ò»Ö£¬¸ø³õѧÕßÔì³ÉÁËÒ»¶¨µÄÀ§ÄÑ£¨ÏëÆðµ±Ê±µÄÎÒ£©¡£ÒÔÏÂÊÇÎÒ×Ô¼º×ܽáµÄ£¬°Ù·Ö°Ù¿ÉÒÔÓá£
´ËÎÄÏêÊöÁËÈçºÎÔÚwindowsºÍlinuxÏÂÅäÖû·¾³±äÁ¿¡£
Ò»¹²ÐèÒªÅäÖÃ3¸ö±äÁ¿£º
JAVA_HOME£ºÖ÷ÒªÊÇΪÁËÆäËüÁ½¸öʹÓ㬼ò»¯ÅäÖã¬jdk°²×°µÄÍêÕûµÄ·¾¶Ãû£¬Ò»Ö±µ½jdk...Ϊֹ¡£
CLAS ......

¼òµ¥FTP·þÎñÆ÷µÄ´î½¨£¨linux ¡¢windows£©

linux      ÊÂÇéÒª´ÓSSH˵Æð£¬×ʼÎÒÃÇÔ¶³Ì·ÃÎÊlinux·þÎñÆ÷£¬¶¼ÊÇÓõÄSSH£¬Õâ¸ö¶«Î÷ºÜ·½±ãÁË£¬ÌṩÁËÃüÁîÐУ¬»¹Óд°¿Ú½çÃ棬ÓÃÆðÀ´·½±ã£¬ÏàÐÅÓùýµÄÈ˶¼ÓÐÌå»á£¬µ«Êǵ±ÎÒ»»³ÉflashFXPÁ¬½ÓͬÑùµÄlinux·þÎñÆ÷ʱÔõô¶¼Á¬²»ÉÏ£¬ÕâÏÂÓôÃÆ»µÁË£¬Ôõô°ìÄØ£¿     ÔÚ¾­ÀúÁËÎÞÊý´ÎµÄ³¢ÊÔÖ®ºó£ ......

Linux dong dong(for ×Ôѧ)

1.  10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁî(ת) (http://linuxtoy.org/archives/top-10-one-liners.html )
ÏÂÃæÊÇÀ´×Ô Commandlinefu ÍøÕ¾ÓÉÓû§Í¶Æ±¾ö³öµÄ 10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁϣÍû¶ÔÄãÓÐÓá£
sudo !!
ÒÔ root ÕÊ»§Ö´ÐÐÉÏÒ»ÌõÃüÁî¡£
python -m SimpleHTTPServer
ÀûÓà Python ´î½¨Ò»¸ö¼òµ¥µÄ Web · ......

LINUX C³ÌÐò¿ª·¢Ã¿ÈÕÒ»Ìâ——Ö¸Õë

 
ʵÏÖÒ»¸öÁ´±í£¬Íê³ÉÁ´±íµÄ²åÈ룬²éÕÒ£¬É¾³ý
 
typedef struct _FIFO_M{
  void *pdata;
struct _FIFO_M *pNext;
}FIFO_M,* pFIFO_M;
 
typedef struct _FIFO{
pFIFO_M head;
pFIFO_M tail;
pFIFO_M pos;
int mcount;//½Úµã¸öÊý
int max_count;//½Úµã×î´ó¸öÊý¡£
}FIFO,* pFIFO;
......

linuxÖÐÎÄÂÒÂëÎÊÌâ

linuxÖÐÎÄÂÒÂëÎÊÌâ
×î½ü£¬¹«Ë¾ÔÚXPϵͳÓÚLINUXÖ®¼ä´«Êý¾Ýʱ³öÏÖÁËÖÐÎÄÂÒÂëÎÊÌâ!
Ê×ÏÈ£¬½âÊÍÒ»ÏÂ×Ö·û¼¯£º
ºº×Ö±àÂë:
* GB2312×Ö¼¯ÊǼòÌå×Ö¼¯£¬È«³ÆΪGB2312(80)×Ö¼¯£¬¹²°üÀ¨¹ú±ê¼òÌ庺×Ö6763¸ö¡£ * BIG5×Ö¼¯ÊÇ̨Íå·±Ìå×Ö¼¯£¬¹²°üÀ¨¹ú±ê·±Ì庺×Ö13053¸ö¡£ * GBK×Ö¼¯ÊǼò·±×Ö¼¯£¬°üÀ¨ÁËGB×Ö¼¯¡¢BIG5×Ö¼¯ºÍһЩ·ûºÅ£¬¹² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ