Ubuntu/linuxÏÂ×îÇ¿´óµÄÏÂÔع¤¾ß£aria2
aria2ÊÇÎÒ½ñÌìÐÂѧµ½µÄÒ»¸öÃüÁîÐеÄÏÂÔع¤¾ß£¬ËäÈ»»¹Ã»Ñо¿Í¸£¬µ«ÊÇËû¾ø¶Ô±Èwget¸üºÃ.
aria2 ÊÇ Linux ÏÂÒ»¸ö²»´íµÄ¸ßËÙÏÂÔع¤¾ß
¡£ÓÉÓÚËü¾ßÓзֶÎÏÂÔØÒýÇ棬ËùÒÔÖ§³Ö´Ó¶à¸öµØÖ·»òÕß´ÓÒ»¸öµØÖ·µÄ¶à¸öÁ¬½ÓÀ´ÏÂÔØͬһ¸öÎļþ¡£ÕâÑù×ÔÈ»¾Í´ó´ó¼Ó¿ìÁËÎļþµÄÏÂÔØËÙ ¶È¡£aria2 Ò²¾ßÓжϵãÐø´«¹¦ÄÜ£¬ÕâʹÄãËæʱÄܹ»»Ö¸´ÒѾÖжϵÄÎļþÏÂÔØ¡£³ýÁËÖ§³ÖÒ»°ãµÄ http(s) ºÍ ftp ÐÒéÍ⣬aria2 »¹Ö§³Ö BitTorrent ÐÒé¡£ÕâÒâζ×Å£¬ÄãÒ²¿ÉÒÔʹÓà aria2 À´ÏÂÔØ torrent Îļþ¡£
°²×° aria2
aria2 Ä¿Ç°Òѱ»°üº¬µ½Ðí¶à Linux ·¢ÐаæÖУ¬Òò´ËÄã¿ÉÒÔͨ¹ýËùÓõÄϵͳֱ½Ó¼ÓÒÔ°²×°¡£ÀýÈ磬ÔÚ Debian/Ubuntu ÖУ¬Äã¿ÉÒÔÔÚÖÕ¶ËÖ´ÐÐÈçÏÂÖ¸ÁîÀ´°²×° aria2£º
sudo apt-get install aria2
aria2 µÄʹÓ÷½·¨
aria2 ÊÇÃüÁîÐÐ
³ÌÐò£¬Ê¹Ó÷dz£¼òµ¥¡£
Ò»°ãʹÓÃʹÓà aria2 ÏÂÔØÎļþ£¬Ö»ÐèÔÚÃüÁîºó¸½¼ÓµØÖ·¼´¿É¡£±ÈÈçÎÒÃÇÏÂÔØubuntuÈ磺
aria2c http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso
·Ö¶ÎÏÂÔØÀûÓà aria2 µÄ·Ö¶ÎÏÂÔع¦ÄÜ¿ÉÒÔ¼Ó¿ìÎļþµÄÏÂÔØËٶȣ¬¶ÔÓÚÏÂÔØ´óÎļþʱÌرðÓÐÓá£ÎªÁËʹÓà aria2 µÄ·Ö¶ÎÏÂÔع¦ÄÜ£¬ÄãÐèÒªÔÚÃüÁîÖÐÖ¸¶¨ s Ñ¡Ïî¡£È磺
aria2c -s 2 http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso
Õ⽫ʹÓà 2 ¸öÁ¬½ÓÀ´ÏÂÔظÃÎļþ¡£s ºóÃæµÄ²ÎÊýÖµ½éÓÚ 1~5 Ö®¼ä£¬Äã¿ÉÒÔ¸ù¾Ýʵ¼ÊÇé¿öÑ¡Ôñ¡£
¶ÏµãÐø´«ÔÚÃüÁîÖÐʹÓà c Ñ¡Ïî¿ÉÒԶϵãÐø´«Îļþ¡£È磺
aria2c -c http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso
ÏÂÔØ torrent ÎļþÄãÒ²¿ÉÒÔʹÓà aria2 ÏÂÔØ BitTorrent Îļþ¡£È磺
aria2c -o gutsy.torrent http://cdimage.ubuntu.com/daily-live/current/gutsy-desktop-i386.iso.torrent
¹ØÓÚ aria2 µÄ¸ü¶àÓ÷¨£¬¿ÉÒÔͨ¹ý man aria2c ²éÔÄ¡£
¿ª·¢Ö÷Ò³£ºaria2
Ïà¹ØÎĵµ£º
ÒÔÏÂÊÇÅäÖÃÒýµ¼½øÈëͼÐÎģʽµÄetc/inittabÎļþµÄ²¿·ÖÄÚÈÝ£º
#Default runlevel.The runlevels used by RHS are:
# 0-halt(Do NOT set initdefault to this)
# 1 -Single user mode
# 2-Multiuser,without NFS(The same as 3,if you do not have networking)
# 3-Full multiuser mode
# 4-unu ......
»ùÓÚ½ø³ÌµÄÃüÁʽ²é¿´:
`ps -o pcpu,pmem,nlwp -p $PID`
#(pmem = % mem usage and nlwp is number of threads)
ÆäÖÐpcpu¶¨ÒåÊÇ:cpu utilization of the process in “##.#” format. It is the CPU time used divided by the time the process has been running (cputime/realtime ratio), expressed as a ......
CurlÊÇLinuxÏÂÒ»¸öºÜÇ¿´óµÄhttpÃüÁîÐй¤¾ß£¬Æ书ÄÜÊ®·ÖÇ¿´ó¡£
1) ¶ÁÈ¡ÍøÒ³
$ curl http://www.linuxidc.com
2) ±£´æÍøÒ³
$ curl http://www.linuxidc.com > page.html
$ curl -o page.html http://www.linuxidc.com
3) ʹÓõÄproxy·þÎñÆ÷¼°Æä¶Ë¿Ú£º -x
$ curl -x 123.45.67.89:1080 -o page.html http://www.linu ......
ÓÉÓÚLINUX
CûÓжÔ×Ö·û´®×Ó´®Ìæ»»¹¦ÄÜ,ËùÒÔÎÒ×Ô¼ºÐ´ÁËÒ»¸östr_replaceº¯Êý,ʵÏÖÁË×Ö·û´®Ìæ»».
Çë´ó¼Ò²Î¿¼.
/*
* FUNCTION : str_replace
*
ABSTRACT : replace child string in a string.
*
PARAMETER &nbs ......
http://linux.chinaunix.net/doc/system/2005-02-03/1086.shtml
dd ÊÇ Linux/UNIX
ϵÄÒ»¸ö·Ç³£ÓÐÓõÄÃüÁ×÷ÓÃÊÇÓÃÖ¸¶¨´óСµÄ¿é¿½±´Ò»¸öÎļþ£¬²¢ÔÚ¿½±´µÄͬʱ½øÐÐÖ¸¶¨µÄת»»¡£
dd µÄÖ÷ҪѡÏ
Ö¸¶¨Êý×ֵĵط½
ÈôÒÔÏÂÁÐ×Ö·û½áβ³ËÒÔÏàÓ¦µÄÊý×Ö:
b=512, c=1, k=1024, w=2, xm=number m
if=file
Êä
ÈëÎļþÃû£¬È±Ê ......