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

ÇëÎÊ£¬ÔõôÔÚÂÛ̳ÇóÖú£¿linuxºÍcygwinµÄ

 ÓÐÁ½¶Î´úÂ룺
#!/bin/sh
if [ $#=0 ]
then
    echo "Name not provided"
else
    echo "You name is $1"
fi
#!/bin/sh
if [ $#=0 ]; then echo "Name not provided"
else  echo "You name is $1"
fi
Ãû×ÖΪmypgm1
µÚÒ»¶Î´úÂëÔÚcygwinϲ»ÄÜÕýÈ·ÔËÐÐ
±¨´í£º
mypgm1: line 2: [: missing `]'
mypgm1: line 5: $'\r': command not found
µÚ¶þ¶Î´úÂë¾Í¿ÉÒÔÔËÐÐÁË
µ«ÊÇÁ½¶Î´úÂëÔÚ´¿linuxµÄ»·¾³¶¼ÄÜÔËÐС£
ÇëÎÊÕâÊÇÓï·¨²»¼æÈݵÄÎÊÌâÂð£¿
cygwinµÄÓï·¨ÒªÇóÊÇ·ñ±Èlinux¸üÑϸñ£¿==ÔÚcgywinÏÂÄÜÔËÐеĴúÂëÔÚlinuxÀïÃæÒ»¶¨ÄÜÔËÐУ¬·´Ö®²»È»


Ïà¹ØÎĵµ£º

LinuxÔÚϵͳÒýµ¼ÆÚ¼ä²éÕÒrootfs

 
LinuxÔÚϵͳÒýµ¼ÆÚ¼ä²éÕÒrootfs
×÷ΪһÃûLinux¹ÜÀíÔ±£¬Äú¿ÉÄÜ»áÔÚÔö¼ÓÍⲿ´æ´¢¾íÖ®ºó»òÕßÉõÖÁÔÚ°²×°Ð Linux ²Ù×÷ϵͳ֮ºó£¬³¢ÊÔÖØÐÂÆô¶¯·þÎñÆ÷ʱÓöµ½ÖîÈç cannot mount rootfs ºÍ kernel panic Ö®ÀàµÄ rootfs ´íÎó¡£±¾ÎĽ«¸ÅÒª½éÉÜ x86 ƽ̨É쵀 Linux Òýµ¼½ø³Ì£¬ÏÔʾ³öÏÖ´ËÎÊÌâµÄÔ­Òò£¬²¢Ìṩ±ÜÃâ»òÐÞÕý´ËÎ ......

LinuxÍø¹Üѧϰ±Ê¼Ç£¨26£©Linux²Ù×÷ϵͳѧϰ·Ïßͼ

ARM+LINUX·Ïß Ö÷¹¥Ç¶ÈëʽLinux²Ù×÷ϵͳ¼°ÆäÉÏÓ¦ÓÃÈí¼þ¿ª·¢Ä¿±ê£º
£¨1£© ÕÆÎÕÖ÷Á÷ǶÈëʽ΢´¦ÀíÆ÷µÄ½á¹¹ÓëÔ­Àí£¨³õ²½¶¨Îªarm9£©
£¨2£© ±ØÐëÕÆÎÕÒ»¸öǶÈëʽ²Ù×÷ϵͳ £¨³õ²½¶¨Îªuclinux»òlinux,°æ±¾´ý¶¨£©
£¨3£© ±ØÐëÊìϤǶÈëʽÈí¼þ¿ª·¢Á÷³Ì²¢ÖÁÉÙ×öÒ»¸öǶÈëʽÈí¼þÏîÄ¿¡£
´ÓÊÂǶÈëʽÈí¼þ¿ª·¢µÄºÃ´¦ÊÇ ......

LinuxÖÐfind³£¼ûÓ÷¨Ê¾Àý

 ·find   path   -option   [   -print ]   [ -exec   -ok   command ]   {} \;
#-print ½«²éÕÒµ½µÄÎļþÊä³öµ½±ê×¼Êä³ö
#-exec   command   {} \;      -----½«²éµ½µÄÎļþÖ´ ......

linuxÄں˶¯Ì¬¼ÓÔØÄ£¿é

 Ò»¡¢°²×°ÄÚºËÄ£¿é:
Ò»°ã²½Ö裺
(1) ÔÚ/usr/src/linux/ÏÂÔËÐÐmake menuconfig°ÑÐèÒª±àÒë³ÉÄ£¿éµÄÏî´òÉÏ(M)£¬±£´æ²¢Í˳ö¡£
(2) ÔËÐÐmake modules£¬ÕâÒ»²½½«ÔÚ/usr/src/linux/ÏÂÉú³É*.o»ò*.koÎļþ¡£
(3) ÔËÐÐmake modeules_installÀ´°²×°,Õâ²½»á°ÑÉú³ÉµÄ.o»òkoÎļþ¿½±´µ½/lib/modules/`uname -r`/Ï¡£
Èç¹ûÄãÖ»Òª±à ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ