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

linuxÈçºÎ²é¿´ÊÇ·ñ»¹Óж˿ڿÉÓÃ?

ÈçÌâ,ÓÐʲôÃüÁî¿ÉÒԲ鿴µ±Ç°ÊÇ·ñ»¹ÓпÉÓõĶ˿ÚÂð?лл
ΪʲôÐèÒª²é¿´£¿socketµÄÁÙʱ¶Ë¿Ú²»ÊÇ»á×Ô¶¯·ÖÅäµÄô

netstat -an

netstat -an | grep -v "ÒÑÁ¬½Ó" | grep -v "LISTENING"

netstat -an ¾Í¿ÉÒÔ

netstat -an
ÎÒÒ»Ö±ÔÚÓÃ.Õâ¸ö²éµÄ¶¼Êǵ±Ç°ÔÚʹÓõĶ˿ڰ¡??Õ¦¿´»¹ÓÐûÓпÉÓõĶ˿ÚÄÄ??


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

Linux Ŀ¼ÎÊÌâ

LinuxÐÂÊÖ£¬Çë´ó¸ç´ó½ã²»Òª¼ûЦ¡£

ÎÒÓÃrootÓû§µÇ¼µ½Linuxϵͳ¡£ÔÚ¸ùĿ¼ÏÂÃ潨ÁËĿ¼dir1£¬ºóÓÃÃüÁîcd /dir1½øÈëµ½dir1Ŀ¼Ï£¬È»ºóÔÙÓÃmkdir dir2½¨Á¢ÁËĿ¼dir2 £¬ÔÙºóÀ´ÓÃÃüÁîcd /dir2ÊÇ£¬ÌáʾΪ£º-bush ......

php±àдִÐÐlinux shellÃüÁîµÄ´úÂë

ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾­¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......

¹ØÓÚLINUXµÄÎÊÌâ--ºÃ¾ÃûÉÏÀ´ÁËûÓзÖÁËÏÈлл´ó¼ÒÁË

ÎÒÔÚLINUXÉÏÓÐÁ½¸öÓû§
Ò» root
¶þ myadmin

¡¾myadmin@localhost~¡¿$ dir
Desktop myphp
[myadminlocalhost~]$ cd myphp¡¢DesktopÄܽøÈ¥ÆäËûµÄϵͳĿ¼½ø²»È¥
Ö»ÓÐÕâÁ½¸öĿ¼ ÎÒÏë½øÈëÆäËûµÄÏ ......

LINUXÏÂжÔØJDKÎÊÌâ

ÎÒÓÃRPM±¨°²×°ÁËÒ»¸öÀÏ°æ±¾µÄJRE£¬ºóÀ´Ïëװа汾µÄ£¬
²»¹ý£¬ÎÒ°Ñ/usr/javaĿ¼ֱ½Ó¸øɾÁË£¬
ºóÔÙ°²×°µÄʱºò£¬×ÜÊÇÌáʾ°æ±¾³åÍ»£¬
¶øÇÒÎÒÓÃRPM°üжÔØʱҲÕÒ²»µ½ÎļþÁË¡£
ÎÒ¶ÔLINUX²»ÊìϤ£¬Ï£Íû¸ßÊÖ°ïæ¡£
http: ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ