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

WindowsºÍLinux¼äÎı¾Îļþ¸ñʽת»»

ÎÊÌ⣺ÔÚLinuxÏÂÕý³£»»ÐеÄÎÄ×Ö£¬µ½ÁËWindowsϺ󣬲»ÔÙ»»ÐС£
 
ÔÚWindowsÏ»»ÐÐʱ£¬ÓÐÁ½¸ö×Ö·û£º»Ø³µ(\r)ºÍ»»ÐÐ(\n)¡£µ«ÔÚLinuxÏ£¬Ö»ÓÐÒ»¸ö»»ÐÐ(\n)
¿ÉʹÓÃunix2dosºÍdos2unixÃüÁî½øÐиñʽµÄת»»£º
²ÎÊý£º
-k  ±£³ÖÊä³öÎļþºÍÊäÈëÎļþµÄÈÕÆÚʱ¼ä´Á²»±ä
-o file   ĬÈÏģʽ . ½«fileת»»£¬²¢Êä³öµ½file
-n  infile outfile ÐÂģʽ. ת»»infile, ²¢Êä³öµ½outfile
 
 
1.       unix2dos
 
¼ÙÉèÓÃviн¨Ò»Îı¾Îļþ£¬ÊäÈë123456
[root@centos test]# ls -l a.txt
-rw-r--r-- 1 root root 7 Jan  7 21:31 a.txt
[root@centos test]# hexdump -c a.txt
0000000   1   2   3   4   5   6  \n
0000007
[root@centos test]# unix2dos -n a.txt b.txt
unix2dos: converting file a.txt to file b.txt in DOS format ...
[root@centos test]# ls -l
total 8
-rw-r--r-- 1 root root 7 Jan  7 21:31 a.txt
-rw------- 1 root root 8 Jan  7 21:34 b.txt
[root@centos test]# hexdump -c a.txt
0000000   1   2   3   4   5   6  \n
0000007
[root@centos test]# hexdump -c b.txt
0000000   1   2   3   4   5   6  \r  \n
0000008
b.txtÊÇת»»ºóµÄDOSϵÄÎļþ
 
2.       dos2unix
[root@centos test]# dos2unix -n b.txt c.txt
dos2unix: converting file b.txt to file c.txt in UNIX format ...
[root@centos test]# ls -l
total 12
-rw-r--r-- 1 root root 7 Jan  7 21:31 a.txt
-rw------- 1 root root 8 Jan  7 21:34 b.txt
-rw------- 1 root root 7 Jan  7 21:38 c.txt
[root@centos test]# hexdump -c b.txt
0000000   1   2   3   4   5   6  \r  \n
0000008
[root@centos test]# hexdump -c c.txt
0000000   1   2   3   4   5   6  \n
0000007
c.txtÊÇת»»ºóunixϵÄÎı¾Îļþ
 


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

ÔĶÁÕÔ¾¼µÄ¡¶LinuxÄÚºËÍêȫעÊÍ¡·Ö®Ç°±ØÐëÖªµÀµÄ£¡

Linux 0.11ËäÈ»²»ÊÇʲô“ÖéÄÂÀÊÂê·å”£¬µ«Ëü¿Ï¶¨»¹ÊÇ“»ªÉ½”»ò“̩ɽ”¡£ËäÈ»Ó絫Ä㻹ÊÇÐèÒª×î»ù±¾µÄŬÁ¦ºÍ»¨·ÑÒ»¶¨µÄ´ú¼Û²ÅÄÜ“ÅʵǔÉÏÈ¥¡£
1. PC¼æÈÝ»úÓ²¼þ¹¤×÷Ô­Àí£¨±ÈÈç8259A,8253, 8042£¬UARTµÈÓ²¼þ£©£»
2. Intel 32λ ÔËÐÐģʽ¹¤×÷Ô­Àí£¬Ñ°Ö··½Ê½£»
3. ´«Í³CÓïÑÔ£» ......

ÔõôÔÚLinuxÖÐÌí¼ÓеÄϵͳµ÷ÓÃ

ϵͳµ÷ÓÃÊÇÓ¦ÓóÌʽºÍ²Ù×÷ϵͳÄÚºËÖ®¼äµÄ¹¦Äܽӿڡ£ÆäÖ÷ҪĿµÄÊÇʹµÃÓû§
ÄÜʹÓòÙ×÷ϵͳÌṩµÄÓйØÉ豸¹ÜÀí¡¢ÊäÈë/ÊäÈëϵͳ¡¢ÎļþϵͳºÍ½ø³Ì¿ØÖÆ¡¢
ͨÐż°´æ´¢¹ÜÀíµÈ·½ÃæµÄ¹¦ÄÜ£¬¶ø²»±ØÁ˽âϵͳ³ÌʽµÄÄÚ²¿½á¹¹ºÍÓйØÓ²¼þϸ
½Ú£¬´Ó¶øÆðµ½¼õÇáÓû§¸ºµ£ºÍ±£»¤ÏµÍ³¼°Ìá¸ß×ÊÔ´ÀûÓÃÂʵÄ×÷Óá£
¡¡¡¡Linux²Ù×÷ϵͳ×÷ΪÃâ·ÑÈí¼þ ......

linuxÎļþϵͳ¸ÅÄî&Ŀ¼½á¹¹

[תÌû]
Îļþϵͳ¸ÅÄî
Ò». ÎļþÓëĿ¼µÄ¶¨Òå
1. Îļþϵͳ£ºËüÊÇ´ÅÅÌÉÏÓÐÌØ¶¨¸ñʽµÄÒ»Æ¬ÇøÓò£¬²Ù×÷ϵͳͨ¹ýÎļþϵͳ¿ÉÒÔ·½±ãµØ²éѰºÍ·ÃÎÊÆäÖÐËù°üº¬µÄ´ÅÅ̿飻
2. Îļþ£ºÎļþϵͳÖд洢Êý¾ÝµÄÒ»¸öÃüÃûµÄ¶ÔÏó¡£
3. Ŀ¼£ºÆäÖаüº¬Ðí¶àÎļþÏîÄ¿µÄÒ»ÀàÌØÊâÎļþ¡£
4. ×ÓĿ¼£º±»°üº¬ÔÚÁíÒ»¸öĿ¼ÖеÄĿ¼¡£
5. ÎļþÃû£ºÓÃÀ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ