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

¡¾×ª¡¿linuxÖÐgrepÃüÁîÏê½â


linuxÖÐgrepÃüÁîÏê½â
ÔÚlinuxÖÐgrepÃüÁîÊǷdz£ÓÐÓõÄ,ËüºÍ¹ÜµÀ(|)ÅäºÏʹÓÃ,·Ç³£Ç¿´ó,ÓÃÓÚËÑË÷Îı¾Îļþ.Èç¹ûÏëÒªÔÚ¼¸¸öÎı¾ÎļþÖвéÕÒÒ»×Ö·û´®£¬¿ÉÒÔʹÓÑgrep’ÃüÁî¡£‘grep’ÔÚÎı¾ÖÐËÑË÷Ö¸¶¨µÄ×Ö·û´®¡£
¼ÙÉèÄúÕýÔÚ‘/usr/src/linux/Documentation’Ŀ¼ÏÂËÑË÷´ø×Ö·û´®‘magic’µÄÎļþ£º
$ grep magic /usr/src/linux/Documentation/* 
sysrq.txt:* How do I enable the magic SysRQ key?
sysrq.txt:* How do I use the magic SysRQ key? 
ÆäÖÐÎļþ‘sysrp.txt’°üº¬¸Ã×Ö·û´®£¬ÌÖÂÛµÄÊÇ SysRQ µÄ¹¦ÄÜ¡£
ĬÈÏÇé¿öÏ£¬‘grep’Ö»ËÑË÷µ±Ç°Ä¿Â¼¡£Èç¹û´ËĿ¼ÏÂÓÐÐí¶à×ÓĿ¼£¬‘grep’»áÒÔÈçÏÂÐÎʽÁгö£º
grep: sound: Is a directory 
Õâ¿ÉÄÜ»áʹ‘grep’µÄÊä³öÄÑÓÚÔĶÁ¡£ÕâÀïÓÐÁ½ÖÖ½â¾öµÄ°ì·¨£º
Ã÷È·ÒªÇóËÑË÷×ÓĿ¼£ºgrep -r 
»òºöÂÔ×ÓĿ¼£ºgrep -d skip 
µ±È»£¬Èç¹ûÔ¤Áϵ½ÓÐÐí¶àÊä³ö£¬Äú¿ÉÒÔͨ¹ý ¹ÜµÀ ½«Æäתµ½‘less’ÉÏÔĶÁ£º
$ grep magic /usr/src/linux/Documentation/* | less
ÕâÑù£¬Äú¾Í¿ÉÒÔ¸ü·½±ãµØÔĶÁ¡£
ÓÐÒ»µãҪעÒ⣬Äú±ØÐèÌṩһ¸öÎļþ¹ýÂË·½Ê½£¨ËÑË÷È«²¿ÎļþµÄ»°Óà *£©¡£Èç¹ûÄúÍüÁË£¬‘grep’»áÒ»Ö±µÈ×Å£¬Ö±µ½¸Ã³ÌÐò±»Öжϡ£Èç¹ûÄúÓöµ½ÁËÕâÑùµÄÇé¿ö£¬°´ <CTRL c> £¬È»ºóÔÙÊÔ¡£
ÏÂÃæÊÇһЩÓÐÒâ˼µÄÃüÁîÐвÎÊý£º
grep -i pattern files £º²»Çø·Ö´óСдµØËÑË÷¡£Ä¬ÈÏÇé¿öÇø·Ö´óСд£¬ 
grep -l pattern files £ºÖ»ÁгöÆ¥ÅäµÄÎļþÃû£¬ 
grep -L pattern files £ºÁгö²»Æ¥ÅäµÄÎļþÃû£¬ 
grep -w pattern files £ºÖ»Æ¥ÅäÕû¸öµ¥´Ê£¬¶ø²»ÊÇ×Ö·û´®µÄÒ»²¿·Ö£¨ÈçÆ¥Åä‘magic’£¬¶ø²»ÊÇ‘magical’£©£¬ 
grep -C number pattern files £ºÆ¥ÅäµÄÉÏÏÂÎÄ·Ö±ðÏÔʾ[number]ÐУ¬ 
grep pattern1 | pattern2 files £ºÏÔʾƥÅä pattern1 »ò pattern2 µÄÐУ¬ 
grep pattern1 files | grep pattern2 £ºÏÔʾ¼ÈÆ¥Åä pattern1 ÓÖÆ¥Åä pattern2 µÄÐС£ 
ÕâÀﻹÓÐЩÓÃÓÚËÑË÷µÄÌØÊâ·ûºÅ£º
\< ºÍ \> ·Ö±ð±ê×¢µ¥´ÊµÄ¿ªÊ¼Óë½áβ¡£
ÀýÈ磺 
grep man * »áÆ¥Åä ‘Batman’¡¢‘manic’¡¢‘man’µÈ£¬ 
grep '\<man' * Æ¥Åä‘manic’ºÍ‘man’£¬µ«²»ÊÇ‘Batman&rsq


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

linux aptitude ÃüÁî

aptitude Óë apt-get Ò»Ñù£¬ÊÇ Debian ¼°ÆäÑÜÉúϵͳÖй¦Äܼ«ÆäÇ¿´óµÄ°ü¹ÜÀí¹¤¾ß¡£
Óë apt-get
²»Í¬µÄÊÇ£¬aptitude ÔÚ´¦ÀíÒÀÀµÎÊÌâÉϸü¼ÑһЩ¡£
¾ÙÀýÀ´Ëµ£¬aptitude
ÔÚɾ³ýÒ»¸ö°üʱ£¬»áͬʱɾ³ý±¾ÉíËùÒÀÀµµÄ°ü¡£
ÕâÑù£¬ÏµÍ³Öв»»á²ÐÁôÎÞÓõİü£¬Õû¸öϵͳ¸üΪ¸É¾»¡£ÒÔÏÂÊDZÊÕß×ܽáµÄһЩ³£Óà aptitude
ÃüÁ½ö¹©²Î¿¼¡£ ......

linux Æô¶¯ÏîÏêϸ½éÉÜ

ÏÖÔÚ´ÓÐÂÕûÀíһϣ¬¾õµÃͦÓÐÓÃµÄ £¬Ìí¼ÓÁ˼¸Ïî·þÎñ
linuxÆô¶¯Ïî½éÉÜ
                                 
apmd  £­£­   apmdÓÃÀ´¼àÊÓϵͳÓõç״̬£¬²¢½«Ïà¹ØÐÅϢͨ¹ýsyslogdдÈëÈÕÖ ......

windowsϺÍlinuxÏÂPHPÖ§³Öoracle

windowsÏÂ:
1.ÏÂÔØÓÃÓÚ Windows µÄ Instant Client Basic ³ÌÐò°ü:http://download.oracle.com/otn/nt/instantclient/111070/instantclient-basic-win32-11.1.0.7.0.zip
2.½âѹËõ
´´½¨Ò»¸ö×ÓĿ¼£¨ÀýÈ磬d:\oci£©£¬È»ºó´ÓѹËõÎļþÖи´ÖÆÒÔÏ¿⣺
oraociei10.dll
orannzsbb10.dll
oci.dll
µ½´ËĿ¼ÏÂ
´ò¿ªPHP.ini ......

windowsϵͳÏ°²×°linuxϵͳ(fedora12)

ÔÚ¹«Ë¾ÀïÃæÒ»Ö±¶¼Óõ½linux²Ù×÷ϵͳ£¬¶ø¹«Ë¾ÀïÃæÓõ½µÄÊÇcentos£¬ÎÒ×Ô¼ºµçÄÔÉÏ°²×°µÄÊÇubuntu£¬¶øcentosÒ»°ãÓÃÓÚ·þÎñÆ÷£¬¶ÔÓÚѧϰlinuxÀ´ËµÓе㲻̫ʹÓã¬ËùÒÔÎÒ¿¼ÂÇ°Ñubuntu»»³Éfedora£¬µ±È»²»ÊÇ˵ubuntu²»ºÃ£¬Ö»ÊÇÏë»»Ò»¸ö°æ±¾ÍæÍæ.^_^
¿ÉÊǽÓ×ÅÎÊÌâ¾ÍÀ´ÁË£¬fedoraÊÇÔõô¶¼°²×°²»ÉÏ£¬ÔÚÍøÉÏËÑË÷ÁËһЩ×ÊÁÏ£¬¶¼²»Ì«ÊÊÓ㬠......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ