ddÃüÁîÏê½âÖ®linuxÏ´´½¨Ò»¶¨´óСÎļþÃüÁî
±¾ÎĽ²½âÁËlinux´´½¨ÎļþÃüÁdd¡£Ê¹ÓÃddÕâ¸ölinuxÃüÁî¿ÉÒÔ´´½¨Ò»¶¨´óСÎļþ¡£
linux´´½¨ÎļþÃüÁddÃüÁî
°ÑÖ¸¶¨µÄÊäÈëÎļþ¿½±´µ½Ö¸¶¨µÄÊä³öÎļþÖУ¬²¢ÇÒÔÚ¿½±´µÄ¹ý³ÌÖпÉÒÔ½øÐиñʽת»»¡£Óï·¨£º
CODE:[Copy to clipboard]dd ¡²Ñ¡Ï
QUOTE:
if =ÊäÈëÎļþ£¨»òÉ豸Ãû³Æ£©¡£
of =Êä³öÎļþ£¨»òÉ豸Ãû³Æ£©¡£
ibs = bytes Ò»´Î¶ÁÈ¡bytes×Ö½Ú£¬¼´¶ÁÈ뻺³åÇøµÄ×Ö½ÚÊý¡£
skip = blocks Ìø¹ý¶ÁÈ뻺³åÇø¿ªÍ·µÄibs*blocks¿é¡£
obs = bytes Ò»´ÎдÈëbytes×Ö½Ú£¬¼´Ð´ È뻺³åÇøµÄ×Ö½ÚÊý¡£
bs = bytes ͬʱÉèÖöÁ/д»º³åÇøµÄ×Ö½ÚÊý£¨µÈÓÚÉèÖÃobsºÍobs£©¡£
cbs = bytes Ò»´Îת»»bytes×Ö½Ú¡£
count = blocks Ö»¿½±´ÊäÈëµÄblocks¿é¡£
conv = ASCII °ÑEBCDICÂëת»»ÎªASCIIÂë¡£
conv = ebcdic °ÑASCIIÂëת»»ÎªEBCDICÂë¡£
conv = ibm °ÑASCIIÂëת»»Îªalternate EBCDICÂë¡£
conv = blick °Ñ±ä¶¯Î»×ª»»³É¹Ì¶¨×Ö·û¡£
conv = ublock °Ñ¹Ì¶¨ÃÇת»»³É±ä¶¯Î»
conv = ucase °Ñ×ÖĸÓÉСд±äΪ´óд¡£
conv = lcase °Ñ×ÖĸÓÉ´óд±äΪСд¡£
conv = notrunc ²»½Ø¶ÌÊä³öÎļþ¡£
conv = swab ½»»»Ã¿Ò»¶ÔÊäÈë×Ö½Ú¡£
conv = noerror ³ö´íʱ²»Í£Ö¹´¦Àí¡£
conv = sync °Ñÿ¸öÊäÈë¼Ç¼µÄ´óС¶¼µ÷µ½ibsµÄ´óС£¨ÓÃibsÌî³ä£©¡£
fdformatÃüÁî
µÍ¼¶¸ñʽ»¯ÈíÅÌ¡£
ʵÀý:
´´½¨Ò»¸ö100MµÄ¿ÕÎļþ
dd if=/dev/zero of=hello.txt bs=100M count=1
ÒÔÉÏÊÇlinux´´½¨ÎļþÃüÁddµÄÓ÷¨¡£
Ïà¹ØÎĵµ£º
¿ÉÒÔ½«Õâ¸ö½Å±¾·Å½øcrontab£¬ËûµÄÅäÖÆÎļþÔÚ /etc/crontabÖÐÿÌìÁ賿ִÐÐÒ»´Î£¬×Ô¶¯±¸·Ý Õâ¸ö½Å±¾Ã¿Ìì×î¶àÖ»Ö´ÐÐÒ»´Î£¬¶øÇÒÖ»±£Áô×î½üÎåÌìµÄ±¸·ÝÔÚ·þÎñÆ÷ÉÏ¡£
#!/bin/bash
#This is a ShellScript For Auto DB Backup
#Powered by aspbiz
#2004-09
#Setting
#ÉèÖÃÊý¾Ý¿âÃû£¬Êý¾Ý¿âµÇ¼Ãû£¬ÃÜÂ룬±¸·Ý·¾¶£¬ÈÕ־ ......
# 0 - Í£»ú£¨Ç§Íò²»Òª°ÑinitdefaultÉèÖÃΪ0 £©
# 1 - µ¥Óû§Ä£Ê½
# 2 - ¶àÓû§£¬µ«ÊÇûÓÐNFS
# 3 - ÍêÈ«¶àÓû§Ä£Ê½
# 4 - ûÓÐÓõ½
# 5 - X11
# 6 - ÖØÐÂÆô¶¯£¨Ç§Íò²»Òª°ÑinitdefaultÉèÖÃΪ6 £©
# ¶Ô¸÷¸öÔËÐ춵ÄÏêϸ½âÊÍ£º
0 Ϊͣ»ú£¬»úÆ÷¹Ø±Õ¡£
1 Ϊµ¥Óû§Ä£Ê½£¬¾ÍÏñWin9xϵݲȫģʽÀàËÆ¡£
2 Ϊ¶àÓû§Ä£Ê½£¬µ ......
±¾ÎÄÃèÊöÁËÈçºÎÔÚLinux ubuntu 8.10Ï´Android¿ª·¢»·¾³.
²½Ö裺
1£® °²×°ÐéÄâ¹âÇýdaemon400.exe
2£® ÔÚwindows XPÏÂÓÃÐéÄâ¹âÇý°²×°ubuntu 8.10, isoÎļþΪ£ºubuntu-8.10-beta-desktop-i386.iso
3£® ÓÃdpkgÃüÁî´òpatch:
1) &n ......
ÏÖÔÚ´ó¶àÊý¸ßËÙÎÞÏßÉÏÍø¿¨¶¼ÄÚÖô洢¿Õ¼ä£¬ÓÃÓÚ´æ´¢Çý¶¯³ÌÐòºÍ²¦ºÅÈí¼þµÈ¡£µ±Ê״ν«ÕâÖÖÉ豸²åÈëUSB½Ó¿Úʱ£¬¸ÃÉ豸±»Ê¶±ðΪCD£ROM£¬Çý¶¯³ÌÐòºÍ²¦
ºÅÈí¼þ¾ÍÔÚÆäÖС£µ±°²×°ÍêÍø¿¨µÄÇý¶¯³ÌÐòºó£¬Ôٴν«Æä²åÈëʱ£¬Ôò±»Ê¶±ðΪModemµÈÉ豸£¬ÎÒµÄÕâ¸öÍø¿¨»¹¿ÉÒÔ²åMicro-SD¿¨£¬Í¬Ê±×÷UÅÌÓá£ÒÔÉÏ
ÕâЩºÃÏñ³ÆΪZeroCD¼¼Êõ¡£
ÔÚÉÏ ......
linux strace ½ø³Ì¸ú×Ù
µ÷ÓÃ:
strace [ -dffhiqrtttTvxx ] [ -acolumn ] [ -eexpr ] ...
[ -ofile ] [ -ppid ] ... [ -sstrsize ] [ -uusername ] [ command [ arg ... ] ]
strace -c [ -eexpr ] ... [ -Ooverhead ] [ -Ssortby ] [ command [ arg ... ] ]
¹¦ ......