ºìÁªLinuxÃÅ»§
Linux°ïÖú

¡¶ÎÒµÄshell±Ê¼ÇÖ®³õ¿úÞ¶¡·

·¢²¼Ê±¼ä:2010-03-26 22:23:16À´Ô´:ºìÁª×÷Õß:ailida
[align=center]¡¶ÎÒµÄshell±Ê¼ÇÖ®³õ¿úÞ¶¡·[/align]
½ñÌìÊÇÖÜÄ©£¬¸Ð¾õÐÄÇé²»´í£¬¼ÌÐøÎÒÃÇ×òÌìµÄѧϰ¡£
×òÌìÒѾ­¸ú´ó¼Ò·ÖÏíÁËshell±äÁ¿£¬½ñÌìÊÇÖÜÄ©ËùÒÔ»¹ÊÇѧЩÇáËɵİɡ£
£¨1£©shellͨÅä·û
ͨÅä·ûʹÓñȽϹ㷺£¬Ö÷ÒªÓÃÓÚģʽƥÅ䣬ÈçÎļþÃûÆ¥Å䡢·¾¶ÃûËÑË÷¡¢×Ö·û´®²éÕҵȡ£³£ÓõÄÓÐÒÔÏÂËÄÖÖ¡£
Ò»¡¢¡°*¡±·ûºÅÓÃÓÚÆ¥Åä×Ö·û´®Áã´Î»ò¶à´Î³öÏÖ£¬Èçl*¿ÉÒÔÆ¥Åälike¡¢li¡¢lµÈ£¬»»¾ä»°Ëµ£¬ÊÇÖ¸ÄÜÆ¥ÅäËùÓÐÒÔ*·ûºÅÇ°ÃæµÄ×Ö·û´®ÎªÇ°×ºµÄ×Ö·û´®¡£
¶þ¡¢¡°£¿¡±·ûºÅ½ö½öÆ¥Åä¶ÔӦλÖõÄÒ»¸ö×Ö·û£¬ÀýÈ磬fil?¿ÉÒÔÆ¥Åäfile¡¢filtµÈ£¬µ«ÎÞ·¨Æ¥ÅäfilesystemµÈ£¬ÒòΪ£¿Ö»ÄÜÆ¥ÅäÒ»¸ö×Ö·û¡£
Èý¡¢¡°[]¡±·ûºÅµÄ×÷ÓÃÊÇÆ¥Åä¸Ã×Ö·û×éËùÏÞ¶¨·¶Î§ÄÚµÄÈκÎÒ»¸ö×Ö·û¡£·½À¨ºÅÖеÄ×Ö·û×é¿ÉÒÔÓÉÖ±½Ó¸ø³öµÄ×Ö·û×é³É£¬Ò²¿ÉÒÔÓɱíʾÏÞ¶¨·¶Î§µÄÆðʼ×Ö·û¡¢ÖÕÖ¹×Ö·û¼°ÖмäÒ»¸öÁ¬×Ö·û£¨-£©×é³É¡£ÀýÈ磬±í´ïʽf[a-z]leÄÜÆ¥Åäfile¡¢fale¡¢ftleµÈÏà¹ØµÄ×Ö·û´®¡£
ʹÓ÷½À¨ºÅʱӦעÒ⣬Èç¹ûÀ¨ºÅÖгöÏÖÇ°ÃæÌáµ½µÄ*ºÍ£¿Í¨Åä·û£¬ÕâÀï±»ÈÏΪÊÇÒ»°ã×Ö·û*ºÍ£¿
ËÄ¡¢¡°£¡¡±·ûºÅÊÇÓë[]·ûºÅÅäºÏʹÓõģ¬£¡µÄ×÷ÓÃÊÇÆ¥Åä²»ÔÚ·½À¨ºÅÖÐÁгöµÄ×Ö·û¡£ÀýÈç t[!a-z] st±íʾƥÅä×Ö·û²»ÊÇ´Óaµ½zÖ®¼äµÄ×Ö·û£¬Òò´ËËü¿ÉÒÔÆ¥Åätlst¡¢t0stµÈ¡£
½ñÌìÊÇÖÜÄ©£¬»¹ÊǺúÃÐÝÏ¢ÐÝÏ¢°É¡£×£´ó¼ÒÖÜÄ©Óä¿ì£¡£¡£¡
δÍê´ýÐø??????
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. Quack ÓÚ 2010-03-27 08:31:21·¢±í:

    ѧϰѧϰ

  2. chengjc ÓÚ 2010-03-26 22:54:41·¢±í:

    Ö§³ÖÂ¥Ö÷£¬¼ÌÐø