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

LinuxÎļþ²éÕÒÃüÁîfind,xargsÏêÊö

×ܽ᣺zhy2111314
À´×Ô£ºLinuxSir.Org
ÕûÀí£º±±ÄÏÄϱ±
ÕªÒª£º ±¾ÎÄÊÇfind ÃüÁîµÄÏêϸ˵Ã÷£¬¿É¹óµÄÊÇÕë¶Ô²ÎÊý¾ÙÁ˺ܶàµÄʵÀý£¬´óÁ¿µÄÀýÖ¤£¬ÈóõѧÕ߸üΪÈÝÒ×Àí½â£»±¾ÎÄÊÇzhyflyÐÖÌùÔÚÂÛ̳ÖУ»ÎÒ¶Ô±¾ÎĽøÐÐÁËÔÙ´ÎÕûÀí£¬Îª·½±ã´ó¼ÒÔĶÁ£»
Ŀ¼
°æȨÉùÃ÷
Ç°ÑÔ£º¹ØÓÚfindÃüÁî
Ò»¡¢find ÃüÁî¸ñʽ
1¡¢findÃüÁîµÄÒ»°ãÐÎʽΪ£»
2¡¢findÃüÁîµÄ²ÎÊý£»
3¡¢findÃüÁîÑ¡Ï
4¡¢Ê¹ÓÃexec»òokÀ´Ö´ÐÐshellÃüÁ
¶þ¡¢findÃüÁîµÄÀý×Ó£»
1¡¢²éÕÒµ±Ç°Óû§Ö÷Ŀ¼ÏµÄËùÓÐÎļþ£»
2¡¢ÎªÁËÔÚµ±Ç°Ä¿Â¼ÖÐÎļþÊôÖ÷¾ßÓжÁ¡¢Ð´È¨ÏÞ£¬²¢ÇÒÎļþËùÊô×éµÄÓû§ºÍÆäËûÓû§¾ßÓжÁȨÏÞµÄÎļþ£»
3¡¢ÎªÁ˲éÕÒϵͳÖÐËùÓÐÎļþ³¤¶ÈΪ0µÄÆÕͨÎļþ£¬²¢ÁгöËüÃǵÄÍêÕû·¾¶£»
4¡¢²éÕÒ/var/logsĿ¼Öиü¸Äʱ¼äÔÚ7ÈÕÒÔÇ°µÄÆÕͨÎļþ£¬²¢ÔÚɾ³ý֮ǰѯÎÊËüÃÇ£»
5¡¢ÎªÁ˲éÕÒϵͳÖÐËùÓÐÊôÓÚroot×éµÄÎļþ£»
6¡¢findÃüÁɾ³ýµ±Ä¿Â¼ÖзÃÎÊʱ¼äÔÚ7ÈÕÒÔÀ´¡¢º¬ÓÐÊý×Öºó׺µÄadmin.logÎļþ
7¡¢ÎªÁ˲éÕÒµ±Ç°ÎļþϵͳÖеÄËùÓÐĿ¼²¢ÅÅÐò£»
8¡¢ÎªÁ˲éÕÒϵͳÖÐËùÓеÄrmt´Å´øÉ豸£»
Èý¡¢xargs
ËÄ¡¢find ÃüÁîµÄ²ÎÊý£»
1¡¢Ê¹ÓÃnameÑ¡Ïî
2¡¢ÓÃpermÑ¡Ïî
3¡¢ºöÂÔij¸öĿ¼
4¡¢Ê¹ÓÃfind²éÕÒÎļþµÄʱºòÔõô±Ü¿ªÄ³¸öÎļþĿ¼
5¡¢Ê¹ÓÃuserºÍnouserÑ¡Ïî
6¡¢Ê¹ÓÃgroupºÍnogroupÑ¡Ïî
7¡¢°´ÕÕ¸ü¸Äʱ¼ä»ò·ÃÎÊʱ¼äµÈ²éÕÒÎļþ
8¡¢²éÕÒ±Èij¸öÎļþлò¾ÉµÄÎļþ
9¡¢Ê¹ÓÃtypeÑ¡Ïî
10¡¢Ê¹ÓÃsizeÑ¡Ïî
11¡¢Ê¹ÓÃdepthÑ¡Ïî
12¡¢Ê¹ÓÃmountÑ¡Ïî
Îå¡¢¹ØÓÚ±¾ÎÄ
Áù¡¢Ïà¹ØÎĵµ
+++++++++++++++++++++++++++++++++++++++++++++++++
ÕýÎÄ
+++++++++++++++++++++++++++++++++++++++++++++++++
°æȨÉùÃ÷
±¾ÎÄÊÇzhyflyÐÖÌùÔÚLinuxSir.Org µÄÒ»¸öÌû×Ó¶øÕûÀí³öÀ´µÄ£¬Èç¹ûÄú¶Ô°æȨÓÐÒÉÎÊ£¬ÇëÔÚ±¾ÌûºóÃæ¸úÌû¡£Ð»Ð»£»±¾ÎĵÄHTML°æ±¾Óɱ±ÄÏÄϱ±ÕûÀí£»ÐÞ¸ÄÁËÕûƪÎĵµµÄÈ«½Ç¼°ËµÃ÷ÎÄ×ÖÖеĵ¥´ÊÖÐÿ¸ö×Öĸ¿Õ¸ñµÄÎÊÌ⣻Ϊ±êÌâ¼ÓÁ˱àºÅ£¬·½±ã´ó¼ÒÔĶÁ£»
Ç°ÑÔ£º¹ØÓÚfindÃüÁî
ÓÉÓÚfind¾ßÓÐÇ¿´óµÄ¹¦ÄÜ£¬ËùÒÔËüµÄÑ¡ÏîÒ²ºÜ¶à£¬ÆäÖд󲿷ÖÑ¡ÏֵµÃÎÒÃÇ»¨Ê±¼äÀ´Á˽âһϡ£¼´Ê¹ÏµÍ³Öк¬ÓÐÍøÂçÎļþϵͳ( NFS)£¬findÃüÁîÔÚ¸ÃÎļþϵͳÖÐͬÑùÓÐЧ£¬Ö»Äã¾ßÓÐÏàÓ¦µÄȨÏÞ¡£
ÔÚÔËÐÐÒ»¸ö·Ç³£ÏûºÄ×ÊÔ´µÄfindÃüÁîʱ£¬ºÜ¶àÈ˶¼ÇãÏòÓÚ°ÑËü·ÅÔÚºǫִ́ÐУ¬ÒòΪ±éÀúÒ»¸ö´óµÄÎļþϵͳ¿ÉÄܻỨ·ÑºÜ³¤µÄʱ¼ä(ÕâÀïÊÇÖ¸30G×Ö½ÚÒÔÉϵÄÎļþϵͳ)¡£
Ò»¡¢find ÃüÁî¸ñʽ
1¡¢findÃüÁîµÄÒ»°ãÐÎʽΪ£»
find pathname -options [-print -exec -ok ...]
2¡¢


Ïà¹ØÎĵµ£º

¹¹½¨ARM Linux½»²æ±àÒ빤¾ßÁ´ Ïê½â

  ¹¹½¨ARM Linux½»²æ±àÒ빤¾ßÁ´ Ïê½â
±¾ÕÂѧϰĿ±ê£º
  ¡ñ Á˽⽻²æ±àÒ빤¾ßÁ´
  ¡ñ Àí½â·Ö²½¹¹½¨½»²æ±àÒ빤¾ßÁ´µÄ·½·¨
  ¡ñ ѧ»áʹÓÃCrosstool¹¤¾ß¹¹½¨½»²æ±àÒ빤¾ßÁ´
2.1  ½»²æ±àÒ빤¾ßÁ´½éÉÜ
¶ÁÕß¿ÉÄÜ»áÓÐÒÉÎÊ£¬ÎªÊ²Ã´ÒªÓý»²æ±àÒëÆ÷£¿½»²æ±àÒëͨË׵ؽ²¾ÍÊÇÔÚÒ»ÖÖÆ ......

Linuxϸ÷Ŀ¼µÄ×÷ÓÃ

 Ä¿Â¼½á¹¹¼°Ö÷ÒªÄÚÈÝ “/”¸ùĿ¼²¿·ÖÓÐÒÔÏÂ×ÓĿ¼£º /usr Ŀ¼°üº¬ËùÓеÄÃüÁî¡¢³ÌÐò¿â¡¢ÎĵµºÍÆäËüÎļþ¡£ÕâЩÎļþÔÚÕý³£²Ù×÷Öв»»á±»¸Ä±äµÄ¡£Õâ¸öĿ¼Ҳ°üº¬ÄãµÄLinux·¢Ðа汾µÄÖ÷ÒªµÄÓ¦ÓóÌÐò£¬Æ©È磬Netscape¡£ /var Ŀ¼°üº¬ÔÚÕý³£²Ù×÷Öб»¸Ä±äµÄÎļþ£º¼ÙÍÑ»úÎļþ¡¢¼Ç¼Îļþ¡¢¼ÓËøÎļþ¡¢ÁÙʱÎļþºÍÒ³¸ñÊ ......

LinuxϵͳÏÂSVN Server»·¾³µÄ¹¹½¨

RedhatϵÁУºredhat9¡¢redhat advance server¡¢fedora¡¢centOS
 
¶þ¡¢ËùÐèÈí¼þ
Ø           Apache 2.0.59£¨http://archive.apache.org/dist/httpd/httpd-2.0.59.tar.gz£©
Ø           Opens ......

Linux 5.3ÏÂÅäÖÃnis+nfs+autofs


Linux 5.3ÏÂÅäÖÃnis+nfs+autofs
Server(·þÎñ¶Ë):ÏÈ×°ÉÏypserv·þÎñ¶ËÈí¼þ°ü # yum -y install ypserv*
# service ypserv start 
# chkconfig ypserv on
# authconfig-tui Í¼ÐγÌÐòÏÂÅäÖÃnisÓòÃûºÍ·þÎñ¶ËµØÖ·
# service ypserv ......

Linux ÎļþºÍĿ¼¹ÜÀíÖ®Áгö¡¢É¾³ý¡¢¸´ÖÆ¡¢Òƶ¯¼°¸ÄÃû

×÷Õߣº±±ÄÏÄϱ±
À´×Ô£ºLinuxSir.Org
ÕªÒª£ºLinux ÃüÁîÐÐģʽÏÂÀ´²Ù×÷Îļþ¹ÜÀí»¹ÊDZȽÏÖØÒªµÄ£¬ËäȻĿǰÔÚLinux×ÀÃæÉÏÄÜÍê³É´ó²¿·ÝµÄÎļþ¹ÜÀí¹¤×÷£¬µ«¾ÍЧÂÊÀ´Ëµ£¬»¹ÊÇÃüÁîÐÐģʽ¸üΪǿ´ó¡£×îÖØÒªµÄÊÇÔÚÎı¾²Ù×÷½çÃæºÍͼÐνçÃæͨÓá£Èç¹ûÄúÊÇ·þÎñÆ÷¹ÜÀíÈËÔ±£¬ÄúÄÜÌå»áµ½ÃüÁîÐÐϵÄÎļþ¹ÜÀí¹¤¾ßÊǺεÈÖØÒª¡£±¾ÎÄÉæ¼°ÁËĿ¼º ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ