grepÃüÁî LinuxʵÓÃÃüÁî
ÍøÉϹØÓÚgrepµÄÒ»ËÑÒ»´ó¶Ñ£¬¶¼ÊÇgrepÏê½âʲôµÄ£¬²¢ÇÒ¶¼ÊÇͬһƪÎÄÕ£¬Ð´µÄ¼¸¸öÀý×ÓÒ²²»ÊµÓã¬
¶ÔÓÚ³õѧÕߣ¬ÏëÒªµÄÊÇÔõôºÃÓ㬶ø²»ÊǸ´ÔÓµÄÑÛ»¨çÔÂҵēÏê½â”¡£
ÎÒÔÚÍøÉÏÕÒÁ˺ðëÌì¾ÍÊÇÕÒ²»µ½Ò»¸öʵÓõÄÀý×Ó¡£ºÜÊÇÓôÃÆ~~
×îºó¿´×Å°ïÖúÎĵµ£¬²Î¿¼ÍøÉÏ×ÊÁÏ£¬Ò»¸ö²ÎÊýÒ»¸ö²ÎÊýµÄÊÔ£¬×îÖÕ¾õµÃÕ⼸¸ö±È½ÏºÃÓᣱ㼸ÏÂÀ´ÁË¡£
·½±ã×Ô¼º£¬¸ü·½±ã³õѧÕß~~£¨ÎÒÊÇÕâôÈÏΪµÄ£©¡£
×îºÃÓÃÒ²ÊÇ×î³£ÓõÄÒ»¸ö£º
find / -name "*.h" | xargs grep -n 'PF_INET' --color
²éÕÒ/¸ùĿ¼¼°ËùÓÐ×ÓĿ¼Ï£¬°üº¬×Ö·û´®PF_INET£¬ÎļþÃûΪ*.hµÄÎļþ£¬ÏÔʾÔÚÎļþµÄÄÄÒ»ÐУ¬²¢ÒÔ²ÊÉ«±ê×¢³öÀ´£¡
±È½Ï³£Óõģº
grep -n "clip" -r --color ./
²éÕÒµ±Ç°Ä¿Â¼ÏÂÒÔ¼°ÏÂÃæËùÓÐ×ÓĿ¼Àï°üº¬ clip ×Ö·ûµÄÎļþ ²¢´òÓ¡ËùÔÚÐÐÊý
һЩ¿ÉÄÜÓõ½µÄ£º
grepËÑÑ°Îļþ¼°ËùÓÐ×ÓĿ¼ÏµÄÎļþÀïµÄÄÚÈÝ
ÀýÈçËÑÑ°ZhXwinÏÂËùÓÐCÔ´úÂëÖеÄ"Chinput"(ÊÔÊÔÈ¡ÏûÏÂÐеÄ-q²ÎÊý):
find /download/ZhXwin -name *.c -exec grep -q -s Chinput {} \; -print
²éÕÒËùÓÐÎļþÔò¿ÉÒÔÓãº
find . -type f -exec grep -s chinese {} \; -print
Èç¹ûϲ»¶Í¼ÐνçÃ棬KDE´øµÄkfindºÜ²»´í¡£
ÁгöĿ¼ÏµÄÎļþ¸öÊý
ls -l |grep "-" |wc -l count files
ls -l |grep "d"|wc -l count diretcory
Ïà¹ØÎĵµ£º
µÚ¾Å²¿·Ö£º³ýÒÔÏÂÑ¡ÏÆäËüÈ«²¿É¾³ý
¡¡¡¡Networking
¡¡¡¡Networking options --->
¡¡¡¡[]Unix domain sockets
¡¡¡¡[]TCP/IP networking
µÚÊ®²¿·Ö£º³ýÒÔÏÂÑ¡ÏÆäËüÈ«²¿É¾³ý
¡¡¡¡Device Drivers --->É豸Çý¶¯
¡¡¡¡Block devices-------¡µ
¡¡¡¡[]Compaq SMART2 support
¡¡¡¡[] Compaq Smart Array 5xxx supp ......
Linuxϳ£Óà CVS ÃüÁîÕûÀí
1. 怬 -- login
$ export CVSROOT=:pserver:username@the_server_name:/home/cvsroot
Note£º
pserverÊÇ·ÃÎÊ·½Ê½£¬Èç¹û·þÎñÆ÷ÉèÖõÄÊÇ¿ÚÁîÈÏÖ¤£¬ÔòÊÇ pserver¡£
usernameÊÇ CVS·þÎñÆ÷µÄÓû§Ãû£¬¿ÉÒÔ¸ù¾ÝÄãµÄÉèÖÃÐÞ¸Ä;
the_server_nameÊÇCVS·þÎñÆ÷µÄÃû³Æ»òÕßIPµØÖ·;
/home/cvsroot ......
1.°²裝fedora 11(ÀïÃæµÄPHP°æ±¾Êʺϰ²×°MAGENTO) Èç¹û°²×°±ðµÄ°æ±¾£¬Éý¼¶ÉϾͺÜÓÐÎÊÌâ
2.°²×°ÐèÒªµÄ³ÌÐò
yum install php-mcrypt
yum install php-gd
yum install php-dom
3.ÀûÓÃmagento-check.php¼ì²éÄܹ»°²×°magento
4.Æô¶¯MYSQLAÊý¾Ý¿â ser ......
linux unzip ÃüÁîÏê½â
¹¦ÄÜ˵Ã÷£º½âѹËõzipÎļþ
Óï¡¡¡¡·¨£ºunzip [-cflptuvz][-agCjLMnoqsVX][-P <ÃÜÂë>][.zipÎļþ][Îļþ][-d <Ŀ¼>][-x <Îļþ>] »ò unzip [-Z]
²¹³ä˵Ã÷£ºunzipΪ.zipѹËõÎļþµÄ½âѹËõ³ÌÐò¡£
²Î¡¡¡¡Êý£º
-c ½«½âѹËõµÄ½á¹ûÏÔʾµ½ÆÁÄ»ÉÏ£¬²¢¶Ô×Ö·û×öÊʵ±µÄת»»¡£
-f ¸üÐÂÏÖÓеÄÎ ......