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

linuxÖ»ÁгöÎļþ¼Ð

ls -l|grep ^d    ----Áгöµ±Ç°Ä¿Â¼ÏµÄÎļþ¼Ð
ls -l|grep ^d|grep "tmp"  ----Áгöµ±Ç°Ä¿Â¼ÏÂÃ÷×Óº¬ÓÐ"tmp"µÄÎļþ¼Ð
for dir in `ls -l ~/dxy/|grep ^d | awk '{print $9}'`  ---- awk '{print $9}' ,Ö»print Îļþ¼ÐµÄÃû×Ö
do
echo "==== $dir"
cd ~/dxy;cd $dir/
t=`ls -l|grep ^d|grep "tmp"|wc -l`
echo t =: $t
done


Ïà¹ØÎĵµ£º

vmwareÐéÄâlinux¾ÖÓòÍøÖÐÉÏÍø

vmwareÐéÄâlinux¾ÖÓòÍøÖÐÉÏÍø 
¶ÔÓÚ³õѧlinuxµÄÅóÓÑ£¬×îºÃÊÇÔÚwindowsÏÂÓÃvmwareÐéÄâÒ»¸ölinux£¬Èç¹ûÊǾÖÓòÍø£¬¿ÉÒÔʹÓÃNAT·½Ê½×îΪ¼òµ¥¡£
ÓÃVMnet8£¬°²×°ºÃºó£¬Ñ¡ÔñNAT·½Ê½£¬È»ºóÔÚwindowsÖ÷»úÉÏÓÃipconfig²é¿´VMnet8µÄIPµØÖ·£¬ÔËÐÐ->cmd->ipconfig -all
Ò»°ãÊÇ192.168.X.1/255.255.255.0
´ËʱVMnet8µÄÉèÖ ......

LinuxĿ¼¼Ü¹¹

/       ¸ùĿ¼
/bin         ³£ÓõÄÃüÁî   binary   file   µÄĿ¼
/boot       ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ   (kernel)   ÔÚÄÚ
   ......

LinuxÖÐÈçºÎʹÓÃÃüÁîÐÞ¸ÄÎļþËùÊôÓû§×飿

ÏÈÀ´Á˽âÒ»ÏÂÎļþÊôÐÔ£¬
ÔÚshell»·¾³ÀïÊäÈ룺ls -l ¿ÉÒԲ鿴µ±Ç°Ä¿Â¼Îļþ¡£È磺
drwxr-xr-x 2 nsf users 1024 12-10 17:37 ÏÂÔØÎļþ±¸·Ý
·Ö±ð¶ÔÓ¦µÄÊÇ£º
ÎļþÊôÐÔ Á¬½ÓÊý ÎļþÓµÓÐÕß ËùÊôȺ×é Îļþ´óС ÎļþÐÞ¸Äʱ¼ä ÎļþÃû
ÕâÀïrÊǿɶÁ£¬w¿Éд,x ¿ÉÖ´ÐУ¬ÆäÖÐÎļþÊôÐÔ·ÖΪËĶΣ¬---- --- --- 10¸öλÖÃ
ÀýÈ磺
¡¡¡¡d ......

linuxÖпìËÙ²éÕÒÎļþ

Ö÷ÒªÓÐÏÂÃæÈýÖÖ·½Ê½£º
1.whereis ÎļþÃû
ÌØµã:¿ìËÙ, Ö´ÐÐ׼ȷ²éÕÒ¡£
2.find / -name ÎļþÃû
²é³öºÜ¶à¶«Î÷£¬Óкܶà
“Permission Denied".
#find / -name php.ini
3.locate ÎļþÃû
×î¿ìµÄ·½·¨.Ö´ÐÐÄ£ºý²éÕÒ¡£
×¢Òâ:µÚÒ»´ÎʹÓøÃÃüÁî,¿ÉÄÜÐèÒª¸üÐÂÊý¾Ý¿â,°´ÕÕÌáʾµÄÃüÁîÖ´ÐÐһϾͺÃÁË.
ÕâÀï¾ÍҪ˵˵loc ......

·¢ÏÖÒ»¸öLinuxϵÄÐéÄâ»ú

×Ô¼ºÒÔǰ¶ÔLinuxϵÄÐéÄâ»úû×Ô¼º²é¹ý£¬
ºóÀ´·¢ÏÖijQQȺÄÚÓÐÒ»ÈËÓÃSun VirtualBox£¬
¹þ¹þ£¬µ±È»£¬²»ÓÃÎÒ˵£¬ÄãÒ»¶¨ÖªµÀ¾ÍÊÇÄǸöÍæÒâÁË£¬ÒòΪÊÇSunÍ˳öJava£¬JavaÓÖÊÇ¿çÆ½Ì¨µÄ£¨²»¹ýÐéÄâ»úJAVA¿ÉÄÜ×ö²»ÁË£©£¬Æ¾Ö±¾õ¾Í²ÂµÃ³öÀ´Õâ¸öVirtualBoxÒ»¶¨ÊÇ¿çÆ½Ì¨µÄ£¡£¡
Ö§³ÖWindows
MAC OSX
Linux
Solaris and OpenSolaris
»¹ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ