ÇëÎÊ£¬ÔõôÔÚÂÛ̳ÇóÖú£¿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ÀïÃæÒ»¶¨ÄÜÔËÐУ¬·´Ö®²»È»
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
LinuxÔÚϵͳÒýµ¼ÆÚ¼ä²éÕÒrootfs
×÷ΪһÃûLinux¹ÜÀíÔ±£¬Äú¿ÉÄÜ»áÔÚÔö¼ÓÍⲿ´æ´¢¾íÖ®ºó»òÕßÉõÖÁÔÚ°²×°Ð Linux ²Ù×÷ϵͳ֮ºó£¬³¢ÊÔÖØÐÂÆô¶¯·þÎñÆ÷ʱÓöµ½ÖîÈç cannot mount rootfs ºÍ kernel panic Ö®ÀàµÄ rootfs ´íÎó¡£±¾ÎĽ«¸ÅÒª½éÉÜ x86 ƽ̨É쵀 Linux Òýµ¼½ø³Ì£¬ÏÔʾ³öÏÖ´ËÎÊÌâµÄÔÒò£¬²¢Ìṩ±ÜÃâ»òÐÞÕý´ËÎ ......
linuxϵÄÎļþ½á¹¹£¬¿´¿´Ã¿¸öÎļþ¼Ð¶¼ÊǸÉÂðÓõÄ
/bin ¶þ½øÖÆ¿ÉÖ´ÐÐÃüÁî
/dev Éè±¸ÌØÊâÎļþ
/etc ϵͳ¹ÜÀíºÍÅäÖÃÎļþ
/etc/rc.d Æô¶¯µÄÅäÖÃÎļþºÍ½Å±¾
/home Óû§Ö÷Ŀ¼µÄ»ùµã£¬±ÈÈçÓû§userµÄÖ÷Ŀ¼¾ÍÊÇ/home/user£¬¿ÉÒÔÓÃ~user±íʾ
/lib ±ê×¼³ÌÐòÉè¼Æ¿â£¬Óֽж¯Ì¬Á´½Ó¹²Ïí¿â£¬×÷ÓÃÀàËÆwindowsÀïµÄ.dllÎ ......
×ܽáÁ½¸öÂÒÂëÎÊÌ⣺ 1.ÓйØssh source shell ssh source shell°æ±¾£º3.2.9¡£Ê¹ÓÃSSH Secure ShellÈ¥µÇ½Linux²Ù×÷ϵͳ£¬·¢ÏÖÓÐÂÒÂ룬Ö÷ÒªÊDZàÂëµÄÎÊÌ⣬ÕÒµ½/etc/sysconfig/i18nÕâ¸öÎļþ£¬È»ºó°ÑÀïÃæµÄLANG="zh_CN.UTF-8"¸Ä³ÉLANG="zh_CN.GB18030" £¬±£´æÕâ¸öÎļþ£¬ÖØÆôϵͳ¾Í¿ÉÒÔ¿´µ½Õý³£ÁË¡£ 2.U ......
°²×°Apache·þÎñÆ÷
¡¡¡¡¿ÉÒÔͨ¹ýÒÔÏÂÈýÖÖ·½·¨°²×°Apache·þÎñÆ÷¡£
¡¡¡¡1£©Èç¹û°²×°µÄLinux°æ±¾ÖдøÓÃApacheµÄ»°£¬¾ÍÔÚÑ¡ÔñËùÒª°²×°µÄ·þÎñÆ÷µÄʱºò£¬½«httpdÕâ¸ö·þÎñÑ¡ÉÏ£¬Linux°²×°³ÌÐò½«×Ô¶¯Íê³ÉApacheµÄ°²×°¹¤×÷£¬²¢×öºÃ»ù±¾µÄÅäÖá£
¡¡¡¡2£©Ê¹ÓÿÉÖ´ÐÐÎļþÈí¼þ°ü£¬Õâ±È½ÏÊʺÏÄÇЩ¶Ô±àÒ빤×÷²»ÊÇÌ«ÊìϤµÄ³õ¼¶Óû§£ ......