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

linuxÏÂddÃüÁîÏê½â


   Ãû³Æ: dd
ʹÓÃȨÏÞ: ËùÓÐʹÓÃÕßdd Õâ¸öÖ¸ÁîÔÚ manual ÀïµÄ¶¨ÒåÊÇ convert and copy a file
ʹÓ÷½Ê½:
dd [option]
Èç¹ûÄãÏëÒªÔÚÏß¿´ manual, ¿ÉÒÔÊÔÊÔ:
dd --help
»òÊÇ
info dd
Èç¹ûÄãÏëÒª¿´¿´Õâ¸ö°æ±¾ÈçºÎ:
dd --version
ÊäÈë»òÊä³ö
dd if=[STDIN] of=[STDOUT]
Ç¿ÆÈÊäÈë»òÊä³öµÄSizeΪ¶àÉÙBytes
bs: dd -ibs=[BYTE] -obs=[SIZE]
Ç¿ÆÈÒ»´ÎÖ»×ö¶àÉÙ¸ö Bytes
cbs=BYTES
Ìø¹ýÒ»¶ÎÒÔºó²ÅÊä³ö
seek=BLOCKS
Ìø¹ýÒ»¶ÎÒÔºó²ÅÊäÈë
skip=BLOCKS
µ±È»Äã¿ÉÒÔÄÃÕâ¸öÀ´·½±ãµÄ¿½±´¹âµú(×¢Ò⣬ÄãµÄ¹âµúÊDZê×¼µÄ iso9660¸ñʽ²Å¿ÉÒÔÕâô×öà¡£¡)
dd if=/dev/cdrom of=cdrom.iso
ÆäÖÐ if ºóÃæÒÔ¼° of ºóÃæµÄÄÚÈÝÒÀÄãµÄÐèÇóµ÷Õû¡£
È»ºó¸øϵͳÕâ¸öÖ¸Áî¾Í¿ÉÒÔÉÕÁË:
cdrecord -v cdrom.iso
Õâƪ²»ÊÇÔÚ½² cdrecord µÄ£¬ËùÒÔÉÏÃæµÄÖ¸ÁîÊÇ×îΪ¼òµ¥µ«ÊDz»Ò»¶¨ÄÜ·ûºÏÄúµÄÓ²¼þ»·¾³...
¹¦ÄÜ£º°ÑÖ¸¶¨µÄÊäÈëÎļþ¿½±´µ½Ö¸¶¨µÄÊä³öÎļþÖУ¬²¢ÇÒÔÚ¿½±´¹ý³ÌÖпÉÒÔ½øÐиñʽת»»¡£¿ÉÒÔÓøÃÃüÁîʵÏÖDOSϵÄdiskcopyÃüÁîµÄ×÷Óá£ÏÈÓÃddÃüÁî°ÑÈíÅÌÉϵÄÊý¾Ýд³ÉÓ²Å̵ÄÒ»¸ö¼Ä´æÎļþ£¬ÔÙ°ÑÕâ¸ö¼Ä´æÎļþдÈëµÚ¶þÕÅÈíÅÌÉÏ£¬Íê³ÉdiskcopyµÄ¹¦ÄÜ¡£ÐèҪעÒâµÄÊÇ£¬Ó¦¸Ã½«Ó²ÅÌÉϵļĴæÎļþÓÃrmÃüÁîɾ³ýµô¡£ÏµÍ³Ä¬ÈÏʹÓñê×¼ÊäÈëÎļþºÍ±ê×¼Êä³öÎļþ¡£
Óï·¨£ºdd [Ñ¡Ïî]
if =ÊäÈëÎļþ£¨»òÉ豸Ãû³Æ£©¡£
of =Êä³öÎļþ£¨»òÉ豸Ãû³Æ£©¡£
ibs = bytes Ò»´Î¶ÁÈ¡bytes×Ö½Ú£¬¼´¶ÁÈ뻺³åÇøµÄ×Ö½ÚÊý¡£
skip = blocks Ìø¹ý¶ÁÈ뻺³åÇø¿ªÍ·µÄibs*blocks¿é¡£
obs = bytes Ò»´ÎдÈëbytes×Ö½Ú£¬¼´Ð´È뻺³åÇøµÄ×Ö½ÚÊý¡£
bs = bytes ͬʱÉèÖöÁ/д»º³åÇøµÄ×Ö½ÚÊý£¨µÈÓÚÉèÖÃibsºÍobs£©¡£
cbs = byte Ò»´Îת»»bytes×Ö½Ú¡£
count=blocks Ö»¿½±´ÊäÈëµÄblocks¿é¡£
conv = ASCII °ÑEBCDICÂëת»»ÎªASCIlÂë¡£
conv = ebcdic °ÑASCIlÂëת»»ÎªEBCDICÂë¡£
conv = ibm °ÑASCIlÂëת»»Îªalternate EBCDICÂë¡£
conv = block °Ñ±ä¶¯Î»×ª»»³É¹Ì¶¨×Ö·û¡£
conv = ublock °Ñ¹Ì¶¨Î»×ª»»³É±ä¶¯Î»¡£
conv = ucase °Ñ×ÖĸÓÉСдת»»Îª´óд¡£
conv = lcase °Ñ×ÖĸÓÉ´óдת»»ÎªÐ¡Ð´¡£
conv = notrunc ²»½Ø¶ÌÊä³öÎļþ¡£
conv = swab ½»»»Ã¿Ò»¶ÔÊäÈë×Ö½Ú¡£
conv = noerror ³ö´íʱ²»Í£Ö¹´¦Àí¡£
conv = sync °Ñÿ¸öÊäÈë¼Ç¼µÄ´óС¶¼µ÷µ½ibsµÄ´óС£¨ÓÃNULÌî³ä£©¡£
¡¡
Àý1£ºÒª°ÑÒ»ÕÅÈíÅ̵ÄÄÚÈÝ¿½±´µ½ÁíÒ»ÕÅÈíÅÌÉÏ£¬ÀûÓÃ/tmp×÷ΪÁÙʱ´æ´¢Çø¡£°ÑÔ´Å


Ïà¹ØÎĵµ£º

¡¾×ª¡¿ÔÚLinuxÏÂѹËõÎļþ tarÃüÁîµÄʹÓÃ

    ¶ÔÐí¶àÓû§À´Ëµ£¬ÔÚDOSºÍWindows»·¾³ÏÂÀûÓù¤¾ßÈí¼þWinZip¡¢ARJµÈѹËõ»ò½âѹÎļþÊDZȽÏÈÝÒ×µÄÊ¡£µ«ÊÇ£¬ÔÚLinuxÖÐÈçºÎ¶ÔÎļþ½øÐÐѹËõÓë½âѹÄØ£¿
    ÓÃtar½¨Á¢´æµµ
    tarÊÇ“tape archive”(´Å´ø´æµµ)µÄ¼ò³Æ£¬Ëü³öÏÖÔÚ»¹Ã»ÓÐÈíÅÌÇý¶¯Æ÷¡¢Ó²Å̺͹âÅÌÇý¶¯Æ÷µ ......

ÈÃCentOS(RedHat)LinuxÖ§³ÖNTFS¶Áд²Ù×÷£­°²×°È«¹ý³Ì

òËÆÓÃ-t ntfs¹ÒÔØÉϵÄÅÌ×ÓÊÇÖ»¶ÁÎļþϵͳ£¬½ñÌì²éÁËÒ»ÏÂntfsÎļþϵͳµÄ¶ÁдÎÊÌ⣺
CentOS 5ĬÈÏÊDz»Ö§³ÖNTFS,ÍøÉÏÕÒÁËЩ£¬¿´ntfs-3gÖ§³Ö¶ÁºÍд£¬×°À´ÊÔÏÂЧ¹ûȷʵ²»´í¡£
1. °²×°Ö®Ç°ÒªÏÈ×°fuse£¬·ñÔòntfs-3g²»ÄÜʹÓá£
ÏÂÔØ£º
¸´ÖÆÄÚÈݵ½¼ôÌù°å
´úÂë:
http://sourceforge.net/project/showfiles.php?group_id=121684 ......

linuxÇý¶¯Ä£Ê½

linux-bus,device,driver,class
×ÜÏß
×ÜÏßÊÇ´¦ÀíÆ÷ºÍÒ»¸ö»ò¶à¸öÉ豸֮¼äµÄͨµÀ£¬ÔÚÉ豸ģÐÍÖÐ, ËùÓеÄÉ豸¶¼Í¨¹ý×ÜÏßÏàÁ¬, ÉõÖÁÊÇÄÚ²¿µÄÐéÄâ"platform"×ÜÏß¡£×ÜÏßÄÜÏ໥²åÈë¡£É豸ģÐÍչʾÁË×ÜÏߺÍËûÃÇËù¿ØÖƵÄÉ豸֮¼äµÄʵ¼ÊÁ¬½Ó¡£
ÔÚ Linux É豸ģÐÍÖÐ, ×ÜÏßÓÉ bus_type ½á¹¹±íʾ, ¶¨ÒåÔÚ £º
struct bus_type {
&nb ......

linux ÃüÁî

¡¾Ä¿Â¼¡¿
Ò»¡¢shellÃüÁî
1¡¢ÄÚ½¨ÃüÁî
2¡¢ÍⲿÃüÁî
3¡¢ÊµÓóÌÐò
4¡¢Óû§³ÌÐò
5¡¢shell½Å±¾
¶þ¡¢ÃüÁî°ïÖúÎĵµ
1¡¢ÃüÁî×ÔÉíµÄ°ïÖú¹¦ÄÜ
2¡¢manÊÖ²á
3¡¢ÔÚÏß°ïÖúÎĵµ
Èý¡¢·ÖÀà½éÉÜ
£¨Ò»£©Îļþ¡¢Ä¿Â¼²Ù×÷ÃüÁî
£¨¶þ£©²é¿´ÎļþÄÚÈÝÃüÁî
£¨Èý£©»ù±¾ÏµÍ³ÃüÁî
£¨ËÄ£©¼àÊÓϵͳ״̬ÃüÁî
£¨Î壩´ÅÅ̲Ù×÷ÃüÁî
£¨Áù£©Óû§ ......

ÊÖ¶¯ÅäÖÃUbuntu LinuxÖ¸¶¨DNS·þÎñÆ÷µØÖ·

       ½éÉÜһϠUbuntu LinuxÖÐÈçºÎÖ¸¶¨DNS·þÎñÆ÷
µÄµØÖ·¡£
¡¡¡¡Ubuntu LinuxʹÓÃÎļþ"/etc/resolv.conf" ÎļþÅäÖÃDNS·þÎñÆ÷µÄµØÖ·£¬¿Éͨ¹ýnameserver ÅäÖÃÏîÉèÖÃDNS·þÎñÆ÷µÄIPµØÖ·£¬×î¶à¿ÉÒÔʹÓÃ3¸öDNS·þÎñÆ÷¡£
¡¡¡¡$ sudo vi /etc/resolv.conf
¡¡¡¡search localdomain
¡¡¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ