Linuxϲ鿴Îļþ±àÂë,Îļþ»òÎļþÃû±àÂë¸ñʽת»»
Èç¹ûÄãÐèÒªÔÚLinuxÖвÙ×÷windowsϵÄÎļþ£¬ÄÇôÄã¿ÉÄܻᾳ£Óöµ½Îļþ±àÂëת»»µÄÎÊÌâ¡£WindowsÖÐĬÈϵÄÎļþ¸ñʽÊÇGBK(gb2312)£¬¶øLinuxÒ»°ã¶¼ÊÇUTF-8¡£ÏÂÃæ½éÉÜһϣ¬ÔÚLinuxÖÐÈçºÎ²é¿´ÎļþµÄ±àÂë¼°ÈçºÎ½øÐжÔÎļþ½øÐбàÂëת»»¡£
Ò»£¬²é¿´Îļþ±àÂ룺
ÔÚLinuxÖв鿴Îļþ±àÂë¿ÉÒÔͨ¹ýÒÔϼ¸ÖÖ·½Ê½£º
1.ÔÚVimÖпÉÒÔÖ±½Ó²é¿´Îļþ±àÂë
:set fileencoding
¼´¿ÉÏÔʾÎļþ±àÂë¸ñʽ¡£
Èç¹ûÄãÖ»ÊÇÏë²é¿´ÆäËü±àÂë¸ñʽµÄÎļþ»òÕßÏë½â¾öÓÃVim²é¿´ÎļþÂÒÂëµÄÎÊÌ⣬ÄÇôÄã¿ÉÒÔÔÚ
~/.vimrc ÎļþÖÐÌí¼ÓÒÔÏÂÄÚÈÝ£º
set encoding=utf-8 fileencodings=ucs-bom,utf-8,cp936
ÕâÑù£¬¾Í¿ÉÒÔÈÃvim×Ô¶¯Ê¶±ðÎļþ±àÂ루¿ÉÒÔ×Ô¶¯Ê¶±ðUTF-8»òÕßGBK±àÂëµÄÎļþ£©£¬Æäʵ¾ÍÊÇÒÀÕÕfileencodingsÌṩµÄ±àÂëÁÐ±í³¢ÊÔ£¬Èç¹ûûÓÐÕÒµ½ºÏÊʵıàÂ룬¾ÍÓÃlatin-1(ASCII)±àÂë´ò¿ª¡£
2. enca (Èç¹ûÄãµÄϵͳÖÐûÓа²×°Õâ¸öÃüÁ¿ÉÒÔÓÃsudo yum install -y enca °²×° )²é¿´Îļþ±àÂë
$ enca filename
filename: Universal transformation format 8 bits; UTF-8
CRLF line terminators
ÐèҪ˵Ã÷Ò»µãµÄÊÇ£¬enca¶ÔijЩGBK±àÂëµÄÎļþʶ±ðµÄ²»ÊǺܺã¬Ê¶±ðʱ»á³öÏÖ£º
Unrecognized encoding
¶þ£¬Îļþ±àÂëת»»
1.ÔÚVimÖÐÖ±½Ó½øÐÐת»»Îļþ±àÂë,±ÈÈ罫һ¸öÎļþת»»³Éutf-8¸ñʽ
:set fileencoding=utf-8
2. iconv ת»»£¬iconvµÄÃüÁî¸ñʽÈçÏ£º
iconv -f encoding -t encoding inputfile
±ÈÈ罫һ¸öUTF-8 ±àÂëµÄÎļþת»»³ÉGBK±àÂë
iconv -f GBK -t UTF-8 file1 -o file2
3. enconv ת»»Îļþ±àÂë
±ÈÈçÒª½«Ò»¸öGBK±àÂëµÄÎļþת»»³ÉUTF-8±àÂ룬²Ù×÷ÈçÏÂ
enconv -L zh_CN -x UTF-8 filename
Èý£¬ÎļþÃû±àÂëת»»:
´ÓLinuxÍù windows¿½±´Îļþ»òÕß´ÓwindowsÍùLinux¿½±´Îļþ£¬ÓÐʱ»á³öÏÖÖÐÎÄÎļþÃûÂÒÂëµÄÇé¿ö£¬³öÏÖÕâÖÖÎÊÌâµÄÔÒòÊÇÒòΪ£¬windowsµÄÎļþÃûÖÐÎıàÂëĬÈÏΪGBK,¶øLinuxÖÐĬÈÏÎļþÃû±àÂëΪUTF8,ÓÉÓÚ±àÂë²»Ò»Ö£¬ËùÒÔµ¼ÖÂÁËÎļþÃûÂÒÂëµÄÎÊÌ⣬½â¾öÕâ¸öÎÊÌâÐèÒª¶ÔÎļþÃû½øÐÐתÂë¡£
ÔÚLinuxÖÐרÃÅÌṩÁËÒ»ÖÖ¹¤¾ßconvmv½øÐÐÎļþÃû±àÂëµÄת»»£¬¿ÉÒÔ½«ÎļþÃû´ÓGBKת»»³ÉUTF-8±àÂë,»òÕß´ÓUTF-8ת»»µ½GBK¡£
Ê×ÏÈ¿´Ò»ÏÂÄãµÄϵͳÉÏÊÇ·ñ°²×°ÁËconvmv,Èç¹ûû°²×°µÄ»°ÓÃ:
yum -y install convmv
°²×°¡£
ÏÂÃæ¿´Ò»ÏÂconvmvµÄ¾ßÌåÓ÷¨£º
convmv -f Ô´±àÂë -t бàÂë [Ñ¡Ïî] ÎļþÃû
³£ÓòÎÊý£º
-r µÝ¹é´¦Àí×ÓÎļþ¼Ð
–notest ÕæÕý½øÐвÙ×÷£¬Çë×¢ÒâÔÚĬÈÏÇé¿öÏÂÊDz»¶ÔÎļþ½øÐÐÕæʵ²Ù×
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
/bin »ù´¡ÏµÍ³ËùÐèÒªµÄÄÇЩÃüÁîλÓÚ´ËĿ¼£¬Ò²ÊÇ×îСϵͳËùÐèÒªµÄÃüÁ±ÈÈç ls¡¢cp¡¢mkdirµÈÃüÁ¹¦ÄܺÍ/usr/binÀàËÆ£¬Õâ¸öĿ¼ÖеÄÎļþ¶¼ÊÇ¿ÉÖ´Ðеģ¬ÆÕͨÓû§¶¼¿ÉÒÔʹÓõÄÃüÁî¡£×öΪ»ù´¡ÏµÍ³ËùÐèÒªµÄ×î»ù´¡µÄÃüÁî¾ÍÊÇ·ÅÔÚÕâÀï¡£ /boot LinuxµÄÄں˼°Òýµ¼ÏµÍ³³ÌÐòËùÐèÒªµÄÎļþ£¬±ÈÈç vmlinuz initr ......
1. ϵͳÆô¶¯ºó,ÔÚ³öÏÖgrub»Ãæʱ£¬ÓÃÉÏϼüÑ¡ÖÐÄãƽʱÆô¶¯linuxµÄÄÇÒ»ÏȻºó°´e¼ü
2. ÔÙ´ÎÓÃÉÏϼüÑ¡ÖÐÄãƽʱÆô¶¯linuxµÄÄÇÒ»Ïî(ÀàËÆÓÚkernel/boot mlinuz-2.4.18-14 ro root=LABEL=/)£¬È»ºó°´e¼ü
3. ÐÞ¸ÄÄãÏÖÔÚ¼ûµ½µÄÃüÁîÐУ¬¼ÓÈësingle£¬½á¹ûÈçÏ£º
kernel /boot mlinuz-2.4.18-14 single ro ......
linuxÏÂÊÖ¶¯É¾³ýÊý¾Ý¿âʵÀý£¬Ö±½Óɾ³ýÏàÓ¦µÄĿ¼¾Í¿ÉÒÔÁË£¬²»¶à˵ÁË....
1. $ORACLE_HOME/dbs/
[oracle9@frogger dbs]$ pwd
/u01/app/oracle/product/9.2.0.1/dbs
[oracle9@frogger dbs]$ rm inittest02.ora
[oracle9@frogger dbs]$ rm orapwdtest02
2. $ORACLE_BASE/oradata/SID
[oracle9@frogger oradata]$ ......
µÚÒ»ÕÂ
1.
½âÊÍÐÔÓïÑÔ£ºshell javascript python ±à³ÌÈËÔ±²»ÐèÒª¾¹ý±àÒë Á¬½ÓµÄ¹ý³Ì£¬¿ÉÒÔÔÚÌض¨»·¾³ÏÂÖ±½ÓÖ´ÐеÄÓïÑÔ ×Ô¶¯±àÒëÁ¬½Ó¡£¿ª·¢Ð§Âʸߣ¬µ«ÔËÐÐЧÂʵ͡£
±àÒëÐÍÓïÑÔ£ºjava c c++£¬ÐèÒª¾¹ý±à³ÌÈËÔ±¾¹ý±àÒëºÍÁ¬½Ó²úÉú¿ÉÖ´ÐгÌÐòµÄÓïÑÔ¡£ÔËÐÐЧÂʸߡ£
2.
Êý¾Ý
Êý¾Ý½á¹¹£ºÊý¾ÝÖ®¼äµÄ ......