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

linuxÃüÁîµÄѧϰ±Ê¼Ç

 Ò»¡¢¶ÔÎļþµÄ½éÉܺͲÙ×÷
      
1)        Linux ϵͳµÄÎļþ ºÍĿ¼ ¶¼ÓÐÈýÖÖ·ÃÎÊȨÏÞ·Ö±ðΪ£º¶Áread(r),write(w),execute(x)
2)        linux ÎļþÓû§ÓÐÈýÖÖ£ºÎļþËùÓÐÕßuser£¬group£¬ÆäËüÈËothers
3)   ʹÓà ls -l  ½«ÏÔʾÎļþºÍÎļþ¼ÐµÄÏêϸÐÅÏ¢   È磺
 
      drwxr-xr-x 4 cxp cxp  4096  µÚÒ»¸ö×Öĸ´ú±íÎļþ¼Ð£¨Ä¿Â¼£©µÄÒâ˼£¬µÚ¶þ¸öµ½µÚËĸö×Öĸ´ú±íÎļþËùÓÐÕßËùÓµÓеÄȨÀû£¬·Ö±ðÊÇ£¬¶Á£¬Ð´£¬Ö´ÐУ»µÚÎå¸öµ½µÚÆ߸ö×Öĸ´ú±íȺ×éËùÓµÓеÄȨÀû£¬ÆäÖеē-”´ú±í“½ûÖ¹”µÄÒâ˼£¡£¨Èº×é½ûֹд£©£»µÚ°Ë¸öµ½µÚÊ®¸ö×ÖĸÊÇÆäËüÈËËùÓµÓеÄȨÀû¡£(r ´ú±í¶Á£¬w ´ú±íд£¬x´ú±íÖ´ÐÐ)
 
4) ʹÓÃchmod ¸ü¸ÄÎļþºÍÎļþ¼ÐµÄȨÏÞ¡£
                                           chmod  °Ë½øÖÆģʽ ÎļþÃû Èçchmod 733 3-1.c
                                           chmod  ·ûºÅģʽ ÎļþÃû  È磺
 
 
                                     chmod u=rwx  £¨“=”´ú±íÉèÖÃȨÏÞ£©
                                                       chmod g


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃ滯


´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

linux systemº¯ÊýʹÓÃÏê½â £¨zz from nodeadbird520£©


Ïà¹Øº¯Êý
fork£¬execve£¬waitpid£¬popen
±íÍ·Îļþ
££i nclude<stdlib.h>
¶¨Ò庯Êý
int system(const char * string);
º¯Êý˵Ã÷
system()
»áµ÷ÓÃfork()²úÉú×Ó½ø³Ì£¬ÓÉ×Ó½ø³ÌÀ´µ÷ÓÃ/bin/sh-c
stringÀ´Ö´ÐвÎÊýstring×Ö·û´®Ëù´ú±íµÄÃüÁ´ËÃü>ÁîÖ´ÐÐÍêºóËæ¼´·µ»ØÔ­µ÷ÓõĽø³Ì¡£ÔÚµ÷ÓÃsystem()ÆÚ¼äSIGCHLD ......

LinuxϵĶδíÎó²úÉúµÄÔ­Òò¼°µ÷ÊÔ·½·¨

¼ò¶øÑÔÖ®,²úÉú¶Î´íÎó¾ÍÊÇ·ÃÎÊÁË´íÎóµÄÄÚ´æ¶Î£¬Ò»°ãÊÇÄãûÓÐȨÏÞ£¬»òÕ߸ù±¾¾Í²»´æÔÚ¶ÔÓ¦µÄÎïÀíÄÚ´æ,ÓÈÆä³£¼ûµÄÊÇ·ÃÎÊ0µØÖ·.
Ò»°ãÀ´Ëµ,¶Î´íÎó¾ÍÊÇÖ¸·ÃÎʵÄÄڴ泬³öÁËϵͳËù¸øÕâ¸ö³ÌÐòµÄÄÚ´æ¿Õ¼ä£¬Í¨³£Õâ¸öÖµÊÇÓÉgdtrÀ´±£´æµÄ£¬ËûÊÇÒ»¸ö48λµÄ¼Ä´æÆ÷£¬ÆäÖеÄ32λÊDZ£´æÓÉËüÖ¸ÏòµÄgdt±í£¬ºó13λ±£´æÏàÓ¦ÓÚgdtµÄϱ꣬×îºó3λ°ü ......

Linux TCP Socket³ÌÐò·ÖÎö

/************************
cÓïÑÔ±àдµÄtcp socketͨÐŵÄserver¶Ë¡£
¿ÉÒÔ³ÖÐø¼àÌýmyprotÖ¸¶¨µÄ¶Ë¿Ú
´òÓ¡¶Ë¿Ú½ÓÊÕµ½µÄ×Ö·ûÁ÷
Í·ÎļþÒòΪ¼âÀ¨ºÅ±»×ªÒ壬ËùÒÔÓÃÁËÒýºÅ
************************/
#include "stdio.h"
#include "stdlib.h"
#include "errno.h"
#include "string.h& ......

linuxÏÂmd5sumµÄʹÓÃ

linuxÏÂmd5sumµÄʹÓÃ
MD5Ëã·¨³£³£±»ÓÃÀ´ÑéÖ¤ÍøÂçÎļþ´«ÊäµÄÍêÕûÐÔ£¬·ÀÖ¹Îļþ±»È˴۸ġ£MD5
È«³ÆÊDZ¨ÎÄÕªÒªËã·¨£¨Message-Digest Algorithm
5£©£¬´ËËã·¨¶ÔÈÎÒⳤ¶ÈµÄÐÅÏ¢Öðλ½øÐмÆË㣬²úÉúÒ»¸ö¶þ½øÖƳ¤¶ÈΪ128λ£¨Ê®Áù½øÖƳ¤¶È¾ÍÊÇ32룩µÄ“Ö¸ÎÆ”£¨»ò³Æ“±¨ÎÄÕªÒª”£©£¬²»Í¬µÄÎļþ²úÉúÏà
ͬµÄ±¨Î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ