LinuxÖ¸Áîtar
Tar
¡¡¡¡Ó¢ÎÄÔÒ壺Tape ARchive
¡¡¡¡ÖÐÎÄÊÍÒ壺´Å´ø¹éµµ
¡¡¡¡×¢ ½â£ºUNIX/LinuxÖеÄÒ»¸öÎļþ´ò°ü¹¤¾ß£¬ÓÃÓÚ½«Ðí¶àÎļþÒ»Æð´ò°ü£¬ÐγÉÒ»¸öµµ°¸Îļþ£¬ÒÔ±ã¹éµµ¡£Ëü×î³õÉè¼ÆÓÃÓÚ´Å´ø±¸·Ý£¬ÏÖÔÚÒ²¿ÉÓÃÓÚÆäËü´æ´¢½éÖÊ¡£µ¥¶ÀʹÓÃʱ£¬Éú³É¾ßÓÐ.tarÀ©Õ¹ÃûµÄÎļþ¡£µ±ÓëGzip½áºÏÓÃÓÚÊý¾ÝѹËõʱ£¬Éú³ÉµÄÎļþÀ©Õ¹Ãû¿ÉÄÜÊÇ.tgz¡¢.tar.gz»òÓëcompress½áºÏÓÃÓÚÊý¾ÝѹËõʱ£¬Éú³ÉµÄÎļþÀ©Õ¹ÃûÔòÊÇ.tar.Z¡£
¡¡¡¡tar ÃüÁî
¡¡¡¡ÓÃ;
¡¡¡¡´¦Àí¹éµµ¡£
¡¡¡¡Óï·¨
¡¡¡¡tar { -c | -r | -t | -u | -x } [ -b Blocks ] [ -B ] [ -d ] [ -F ] [ -h ] [ -i ] [ -L InputList ] [ -l ] [ -m ] [ -N Blocks ][ -o ] [ -p ] [ -s ] [ -v ] [ -w ] [ -Number ] [ -f Archive ] [ -S Blocksb | -S Feet | -S Feet@Density ] [ File | Directory | -C Directory ] ...
¡¡¡¡ÃèÊö
¡¡¡¡×¢Ò⣺ÓÉÓÚÔÚ tar ÃüÁîÖжÔÍ·¿é¿Õ¼äµÄÏÞÖÆ£¬µ±»Ö¸´µ½Ä³Ð©ÏµÍ³Ê±£¬´óÓÚ 65,535 µÄÓû§ºÅ£¨UID£©ºÍ×é±êʶºÅ£¨GID£©½«»Ù»µ¡£´óСԼÊøÖ»Ó°ÏìËùÓÐȨºÍÐí¿ÉȨ¶ø²»¶ÔÊý¾ÝÔì³ÉË𺦡£ËùÓÐȨµÄ»Ù»µ·¢ÉúÔÚÏÂÁÐϵͳÖУº
¡¡¡¡* ²»Ê¹Óà uname ºÍ gname ×Ö¶ÎÀ´¼ì²éËùÓÐȨµÄϵͳ¡£
¡¡¡¡* Óë¹éµµÏµÍ³Ã»ÓÐÏàͬµÄÓû§ºÍ×é±êʶµÄϵͳ¡£
¡¡¡¡×¢:
¡¡¡¡1. ustar Í·¸ñʽÔÊÐíÎļþ´óµ½ 8 GB¡£Òò´Ë£¬tar ÃüÁîÖ§³Ö¹éµµ×î´ó 8 GB µÄÎļþ¡£
¡¡¡¡2. tar ²»±£ÁôÈκÎÏ¡Êè·ÖÅäµÄÎļþµÄÏ¡ÊèÊôÐÔ¡£ÈκÎÔÚ»Ö¸´Ç°ÔÊÇÏ¡ÊèµÄÎļþ£¬½«°´Îļþ´óСÔÚÎļþϵͳÄÚ·ÖÅäÆäËùÓпռ䡣
¡¡¡¡tar ÃüÁîͨ¹ý½«ÎļþдÈë¹éµµ´æ´¢½éÖÊ»ò½«Îļþ´Ó½éÖÊÖÐÈ¡»Ø£¬À´´¦Àí¹éµµ¡£ÓÉ tar ÃüÁîʹÓõÄÎļþͨ¹ý File ²ÎÊýÀ´±íʾ¡£Èç¹û File ²ÎÊýÒýÓÃÒ»¸öĿ¼£¬ÔòÒýÓøÃĿ¼²¢µÝ¹éÒýÓøÃĿ¼ÏÂÈ«²¿µÄÎļþºÍĿ¼¡£
¡¡¡¡tar ÃüÁîÔÚȱʡÉ豸£¨Í¨³£ÊÇ´Å´ø£©ÉÏÑ°Õҹ鵵£¬³ý·ÇʹÓà -f Archive ±êÖ¾Ö¸¶¨ÁíÒ»¸öÉ豸¡£µ±ÎªÃÀ¹ú´Å´ø¹éµµ³ÌÐò£¨USTAR£©¸ñʽָ¶¨´óÓÚ 100 ¸ö×Ö·ûµÄ·¾¶Ãû³Æʱ£¬Çë¼Çס·¾¶Ãû³ÆÊÇÓÉÒ»¸öǰ׺»º³åÇø¡¢Ò»¸ö /£¨Ð±¸Ü£©ºÍÒ»¸öÃû³Æ»º³åÇø×é³ÉµÄ¡£
¡¡¡¡Ç°×º»º³åÇø×î´ó¿ÉÒÔÓÐ 155 ×Ö½Ú£¬¶øÃû³Æ»º³åÇø×î´ó¿ÉÒÔÈÝÄÉ 100 ×Ö½Ú¡£Èç¹û·¾¶Ãû³Æ²»ÄÜÓÃб¸Ü·Ö¸îΪÕâÁ½²¿·Ö£¬ÔòËü²»Äܱ»¹éµµ¡£Õâ¸öÏÞÖÆÊÇ¿¼Âǵ½ tar ¹éµµÍ·µÄ½á¹¹£¬¶øÇÒ±ØÐëΪÁË·ûºÏ±ê×¼ºÍÏòϼæÈݶøά»¤¸ÃÏÞÖÆ¡£ÁíÍ⣬ӲÁ´½Ó»ò·ûºÅÁ´½Ó£¨“Á´½ÓÃû³Æ”£©µÄÄ¿±ê³¤¶È²»Äܳ¬³ö 100 ×Ö½Ú¡£
¡¡¡¡µ±Ð´µ½¹éµµÊ±£¬tar ÃüÁîʹÓÃÒ»¸öÁÙʱÎļþ£¨/tmp/tar* Îļþ£©£¬²¢ÔÚÄÚ´æÖÐά»¤Ò»¸ö°üº¬¶àÁ´½ÓÎ
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
µ±ÎÒÃÇÏëжÔØhttpd µÄʱºò£¬Ê¹ÓÃrpm -qa httpd µÄʱºò£¬ÎÒÃÇ·¢ÏÖÓкܶàµÄÒÀÀµ°ü¡£ÎÒÃÇÄÍÐĵÄÏëÒ»¸öÒ»¸öµÄжÔصÄʱºò£¨Ê¹ÓÃrpm -e httpd-*£©£¬»¹»á½øÈëËÀÑ»·¡£
½â¾öµÄ°ì·¨ÊÇ£ºÊ¹Óà rpm -e httpd-* --nodeps˵Ã÷£º¡°*¡±ÊÇͨÅä·û¡£
°²×°CentOS5.3µÄʱºò»áĬÈÏ°²×°httpd·þÎñ¡£
Ê×ÏȲ鿴 ......
ÔÚlinuxµÄprocÎļþϵͳÖУ¬Í¨¹ý²é¿´/proc/net/devÎļþ
¿ÉÒԵõ½Ã¿¸öÍøÂç½Ó¿ÚµÄÍÌÍÂÁ¿£¬µ«ÊÇÎÞ·¨»ñµÃʵʱ´ø¿í
×î½ü·¢ÏÖÁËÒ»ÖÖ»ùÓÚncurses¿âµÄС³ÌÐòbmon£¬¿ÉÒÔ»ñµÃʵʱ´ø¿í
Example:
Ö´ÐÐ
[root@debian ~]# bmon -o ascii -p eth0
Interface RX Rate RX # TX Rate TX #
eth0 0.00B 0.0 0.00B 0.0
eth0 0.00B 0.0 ......
°²×°vmware tools£¬ÊµÏÖÎļþ¹²Ïí
×ʼĿµÄÊÇΪÁ˹²ÏílinuxºÍwindowsϵÄÎļþ¡£
1¡¢Ê×ÏÈ£¬¿´ÄãµÄVMware WorkstationÊDz»ÊǾ«¼ò°æµÄ£¬ÂÌÉ«°æµÄ»¹ÊÇÍêÈ«°²×°°æµÄ
2¡¢Ò»°ãVMware Workstation×Ô´øtools°ü£¬Â·¾¶C:\Program Files\VMware\VMware Workstation£¬ÕâÊÇĬÈÏ°²×°µÄÇé¿ö£¬¿´ÓÐûÓÐÎÒÃÇÏëÒªµÄ.ISOÎļþ¡£Õâ¸öʱºò·ÖÁ½Ö ......
×î½ü£¬¿ªÊ¼ÑжÁÒ»ÏÂLinuxµÄÄں˴úÂ룬¸ÕÒ»¿ªÊ¼£¬¾ÍÓÐÁîÈ˾ªÌ¾µÄ·¢ÏÖ£¬²»µÃ²»¸Ð̾Äں˴úÂëÉè¼ÆµÃÖ®ÃÀ£¡µ¥ÊÇ×î³£ÓõÄÁ´±íÒ²Éè¼ÆµÃ²»µÃ²»ÁîÈËÅå·þ£¡
1.1.Á´±ílist_head
include/linux/list.h
ºÜ¾µä£¬Á´±íÔÚÄÚºËÖкܳ£Óã¬ÀýÈç¹ÜÀí½ø³Ì£¬½ø³ÌµÄ¸÷¸ö× ......