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

linux find ÃüÁîʵÀý

·find  path  -option  [  -print ]  [ -exec  -ok  command ]  {} \;
#-print ½«²éÕÒµ½µÄÎļþÊä³öµ½±ê×¼Êä³ö
#-exec  command  {} \;     -----½«²éµ½µÄÎļþÖ´ÐÐcommand²Ù×÷,{} ºÍ \;Ö®¼äÓпոñ
#-ok ºÍ-execÏàͬ£¬Ö»²»¹ýÔÚ²Ù×÷ǰҪѯÓû§
====================================================
-name  filename             #²éÕÒÃûΪfilenameµÄÎļþ
-perm                       #°´Ö´ÐÐȨÏÞÀ´²éÕÒ
-user   username            #°´ÎļþÊôÖ÷À´²éÕÒ
-group groupname            #°´×éÀ´²éÕÒ
-mtime  -n +n               #°´Îļþ¸ü¸Äʱ¼äÀ´²éÕÒÎļþ£¬-nÖ¸nÌìÒÔÄÚ£¬+nÖ¸nÌìÒÔÇ°
-atime   -n +n              #°´Îļþ·ÃÎÊʱ¼äÀ´²é
-perm                        #°´Ö´ÐÐȨÏÞÀ´²éÕÒ
-user   username            #°´ÎļþÊôÖ÷À´²éÕÒ
-group groupname            #°´×éÀ´²éÕÒ
-mtime  -n +n               #°´Îļþ¸ü¸Äʱ¼äÀ´²éÕÒÎļþ£¬-nÖ¸nÌìÒÔÄÚ£¬+nÖ¸nÌìÒÔÇ°
-atime   -n +n              #°´Îļþ·ÃÎÊʱ¼äÀ´²éÕÒÎļþ£¬-nÖ¸nÌìÒÔÄÚ£¬+nÖ¸nÌìÒÔÇ°
-ctime   -n +n              #°´Îļþ´´½¨Ê±¼äÀ´²éÕÒÎļþ£¬-nÖ¸nÌìÒÔÄÚ£¬+nÖ¸nÌìÒÔÇ°
-nogroup   &nb


Ïà¹ØÎĵµ£º

Linux——samba·þÎñÅäÖÃÏê½â

1 ²é¿´µ±Ç°°²×°sambaûÓУ¬
ÃüÁrpm -qa | grep samba
ÓÐ3¸öÎļþÈ磺samba¡¢common¡¢clientÔò±íÃ÷³É¹¦°²×°ÁË
·ñÔò£ºÓÃÃüÁîrpm -ivh samba*.rpm°²×°sambaÈí¼þ°ü¡£
2 °²×°Íêºó¶àÊý¶¼±£´æÔÚ/etc/sambaĿ¼Ï£¬Ä¿Â¼ÏÂÓÐÒ»¸ösmb.confµÄÎļþ£¬
ËüÊÇsamba·þÎñµÄºËÐÄÎļþ£¬ËùÓÐÅäÖö¼ÔÚÕâÀïÐ޸ġ£
ÆäÖаüÀ¨smbdºÍnmbdÁ½¸ö³ ......

linux——¹ÒÔؼ¸ÀàÉ豸µÄÓ÷¨

 LinuxϵͳÔÚʹÓùâÅÌ¡¢ÈíÅÌ»òUÅÌʱ£¬±ØÐëÏÈÖ´ÐйÒÔØ£¨mount£©ÃüÁî¡£¹ÒÔØÃüÁî»á½«ÕâЩ´æ´¢½éÖÊÖ¸¶¨³ÉϵͳÖеÄij¸öĿ¼£¬ÒÔºóÖ±½Ó·ÃÎÊÏàӦĿ¼¼´¿É¶Áд´æ´¢½éÖÊÉϵÄÊý¾Ý¡£
¡¡¡¡
¡¡¡¡1.¹ÒÔعâÅÌ
¡¡¡¡
¡¡¡¡¹ÒÔعâÅ̵ÄÃüÁîÈçÏ£º
¡¡¡¡
¡¡¡¡# mount -t is09660 /dev/cdrom /mnt/cdrom
¡¡¡¡
¡¡¡¡¸ÃÃüÁ¹âÅ̹ÒÔص½/ ......

Linux——linuxÃüÁ


NO
·ÖÀà
PS1
ÃüÁîÃû
Ó÷¨¼°²ÎÊý
¹¦ÄÜ×¢½â
1
ÏÔʾĿ¼ÐÅÏ¢
#
ls
ls -a
Áгöµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ£¬°üÀ¨ÒÔ.Í·µÄÒþº¬Îļþ
#
ls
ls -l»òll
Áгöµ±Ç°Ä¿Â¼ÏÂÎļþµÄÏêϸÐÅÏ¢
#
ls
ls -a
ÏÔʾËùÓÐÎļþ£¬°üº¬Òþ²Ø¡£
#
ls
ls -al
ÏÔʾËùÓÐÎļþµÄÏêϸÐÅÏ¢¡£
2
²é¿´Â·¾¶
#
pwd
pwd
......

´ÓÓ²ÅÌÆô¶¯linuxϵͳ

 -------------------------------------------------------------------------------------------------------
//By:yuyongbao
//QQ:673360056
//ƽ̨powerpc mpc8379e linux 2.6.22
£±¡¢ÏÈÓÃfdisk ¸øÓ²ÅÌ·ÖÒ»¸öÇø£¬ÓÃ×÷Îļþϵͳ¡£²ÎÕÕu-boot-ppc±àÒë˵Ã÷Ò»ÎÄ¡£
£²¡¢ÓÃmke2fs¸ñʽ»¯Ó²Å̵ÄÒ»¸ö·ÖÇømke2fs /dev/sd ......

linuxÄں˽ṹÌå

 -------------------------------------------------------------------------------------------------------
//By:yuyongbao
//QQ:673360056
LINUX Äں˽ṹÌå
struct attribute
{
    const char    * name;
    struct module     &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ