Linux /devĿ¼
(1)dev
ÊÇÉ豸(device)µÄÓ¢ÎÄËõд¡£Õâ¸öĿ¼¶ÔËùÓеÄÓû§¶¼Ê®·ÖÖØÒª¡£ÒòΪÔÚÕâ¸öĿ¼Öаüº¬ÁËËùÓÐLinuxϵͳÖÐʹÓõÄÍⲿÉ豸¡£µ«ÊÇÕâÀï²¢²»ÊǷŵÄÍⲿÉ豸µÄÇý¶¯³ÌÐò¡£ÕâÒ»µãºÍÎÒÃdz£ÓõÄwindows,
dos²Ù×÷ϵͳ²»Ò»Ñù¡£Ëüʵ¼ÊÉÏÊÇÒ»¸ö·ÃÎÊÕâЩÍⲿÉ豸µÄ¶Ë¿Ú¡£ÎÒÃÇ¿ÉÒԷdz£·½±ãµØÈ¥·ÃÎÊÕâЩÍⲿÉ豸£¬ºÍ·ÃÎÊÒ»¸öÎļþ£¬Ò»¸öĿ¼ûÓÐÈκÎÇø±ð¡£
(2)É豸Îļþ
UNIXϵͳÓë±ßÔÚ±¾ÏµÍ³Éϵĸ÷ÖÖÉ豸֮¼äµÄͨѶ,ͨ¹ýÌرðÎļþÀ´ÊµÏÖ,¾Í³ÌÐò¶øÑÔ,´ÅÅÌÊÇÎļþ,MODEMÊÇÎļþ,ÉõÖÁÄÚ´æÒ²ÊÇÎļþ.ËùÓÐÁ¬½Óµ½ÏµÍ³ÉÏ
µÄÉ豸¶¼ÔÚ/devĿ¼ÖÐÓÐÒ»¸öÎļþÓëÆä¶ÔÓ¦.µ±ÔÚÕâЩÎļþÉÏÖ´ÐÐI/O²Ù×÷ʱ,ÓÉUNIXϵͳ½«I/O²Ù×÷ת»»³Éʵ¼ÊÉ豸µÄ¶¯×÷.ÀýÈç,Îļþ/dev/memÊÇϵͳµÄÄÚ´æ,Èç¹ûcatÕâ¸öÎļþ,ʵ¼ÊÉÏÊÇÔÚÖÕ¶ËÏÔʾϵͳµÄÄÚ´æ.ΪÁË°²È«Æð¼û,Õâ¸öÎļþ¶ÔÆÕͨÓû§ÊDz»¿É¶ÁµÄ.ÒòΪÔÚÈÎÒ»¸ø¶¨Ê±¼ä,ÄÚ´æÇø¿ÉÄܺ¬ÓÐÓû§µÇ¼¿ÚÁî»òÔËÐгÌÐòµÄ¿ÚÁî,ij²¿·ÖÎļþµÄ±à¼»º³åÇø,»º³åÇø¿ÉÄܺ¬ÓÐÓÃed-xÃüÁî ½âÃܺóµÄÎı¾,ÒÔ¼°Óû§²»Ô¸ÈÃÆäËûÈË´æÈ¡µÄÖÖÖÖÐÅÏ¢. ÔÚ/devÖеÄÎļþͨ³£³ÆΪÉ豸Îļþ,ÓÃls
/devÃüÁî¿ÉÒÔ¿´¿´ÏµÍ³ÖеÄһЩÉ豸: acuo ºô½Ð×Ô¶¯²¦ºÅÆ÷ console ϵͳ¿ØÖÆ̨ dsknn ¿é·½Ê½²Ù×÷´ÅÅÌ·ÖÇø kmem ºËÐÄÄÚ´æ mem ÄÚ´æ lp
´òÓ¡»úmto ¿é·½Ê½²Ù×÷´Å´ø rdsknn Á÷·½Ê½²Ù×÷µÄ´ÅÅÌ·ÖÇø rmto Á÷·½Ê½²Ù×÷µÄ´Å´ø swap ½»»»Çø syscon ϵͳÖÕ¶Ë
ttynn
ÖÕ¶Ë¿Ú x25 ÍøÂç¶Ë¿Ú µÈµÈ
LinuxÑØÏ®UnixµÄ·ç¸ñ£¬½«ËùÓÐÉ豸ÈϳÉÊÇÒ»¸öÎļþ¡£
É豸Îļþ·ÖΪÁ½ÖÖ£º
¿éÉ豸Îļþ£¨b£©
×Ö·ûÉ豸Îļþ£¨c£©
É豸ÎļþÒ»°ã´æ·ÅÔÚ/devĿ¼ÏÂ
/dev/hd[a-t]£ºIDEÉ豸
/dev/sd[a-z]£ºSCSIÉ豸
/dev/fd[0-7]£º±ê×¼ÈíÇý
/dev/md[0-31]£ºÈíraidÉ豸
/dev/loop[0-7]£º±¾µØ»Ø»·É豸
/dev/ram[0-15]£ºÄÚ´æ
/dev/null£ºÎÞÏÞÊý¾Ý½ÓÊÕÉ豸 ,Ï൱ÓÚ»ØÊÕÕ¾
/dev/zero£ºÎÞÏÞÁã×ÊÔ´
/dev/tty[0-63]£ºÐéÄâÖÕ¶Ë
/dev/ttyS[0-3]£º´®¿Ú
/dev/lp[0-3]£º²¢¿Ú
/dev/console£º¿ØÖÆ̨
/dev/fb[0-31]£ºframebuffer
/dev/cdrom => /dev/hdc
/dev/modem => /dev/ttyS[0-9]
/dev/pilot => /dev/ttyS[0-9]
/dev/console£º¿ØÖÆ̨ºÍ/dev/tty[0-63]£ºÐéÄâÖն˵ÄÇø±ðÓëÁªÏµ
/dev/null£¬ÍâºÅ½ÐÎ޵׶´£¬Äã¿ÉÒÔÏòËüÊä³öÈκÎÊý¾Ý£¬Ëüͨ³Ô£¬²¢ÇÒ²»»á³Å×Å£¡
/dev/zero,ÊÇÒ»¸öÊäÈëÉ豸£¬Äã¿ÉÄãÓÃËüÀ´³õʼ»¯Îļþ¡£
/dev/null------ËüÊÇ¿ÕÉ豸£¬Ò²³ÆΪλͰ£¨bit bucket£©¡£ÈκÎдÈëËüµÄÊä³ö¶¼»á±»Å×Æú¡£Èç¹û²»ÏëÈÃÏûÏ¢ÒÔ±ê×¼Êä³öÏÔ
Ïà¹ØÎĵµ£º
˵ʵ»°£¬ÐźÅÊÇÎÒÌÖÑáµÄ¶«Î÷£¬ÔÚÎÒЩµÄ´úÂëÖУ¬ÎÒ¶¼ÏëÓÃ×î¼òµ¥µÄ°ì·¨À´´¦ÀíËü£¬ÏÖÔÚÓöµ½¶àÏß³ÌÖÐÐźŵĴ¦Àí£¬APUEÖеÄ˵·¨Ò²¿´µÃ²»ÊǺܶ®£¬CSDNÖÐһλÅóÓÑÓÐÈçϵÄ×ܽᣬÏȼÇÔÚÕâÀï¡£
1. ĬÈÏÇé¿öÏ£¬ÐźŽ«ÓÉÖ÷½ø³Ì½ÓÊÕ´¦Àí£¬¾ÍËãÐźŴ¦Àíº¯ÊýÊÇÓÉ×ÓÏß³Ì×¢²áµÄ
2. ÿ¸öÏ߳̾ùÓÐ×Ô¼ºµÄÐźÅÆÁ±Î×Ö£¬¿ÉÒÔʹÓÃsigprocmaskº¯ ......
½ñÌì×°ÁËÒ»ÌìµÄLinuxϵͳ£¬ÓëÆä˵°²×°»¹²»Èç˵ÊÇÏÂÔØÁËÒ»Ì죬ÏȺó×°ÁËfedora core 4£¬fedora core 6£¬×îºó×°fedora core 8ÖÕÓÚ¿ÉÒÔÓÃÁË£¬Ã¿¸ö¶¼ÊÇ3G¶à£¬ÒòΪÔÚѧУµÄ¹¤×÷ÊÒ£¬ËùÒÔÏÂÔØËÙ¶Èƽ¾ù¿ÉÒÔ´ïµ½1.9M²»µ½£¬Õâ¿ÉÊÇÏÞËٵģ¬¾ÍËãÕâÑùÎҵĵçÄÔÒ²ÒòΪÏÂÔØËÙ¶ÈÌ«¿ìËÀÁËN»ØÁË£¬¶¼ÊÇÇ¿ÖÆPowerµÄ£¬ÕæµÃ×°µÃÓеãÓôÃÆ°¡£¬×°FC4ÊÇÒ ......
TFTPÊÇÓÃÀ´ÏÂÔØÔ¶³ÌÎļþµÄ×î¼òµ¥ÍøÂçÐÒ飬Ëü»ùÓÚUDPÐÒé¶øʵÏÖ¡£Ç¶ÈëʽlinuxµÄtftp¿ª·¢»·¾³°üÀ¨Á½¸ö·½Ã棺һÊÇǶÈëʽlinuxËÞÖ÷»úµÄ tftp-serverÖ§³Ö£¬¶þÊÇǶÈëʽlinuxÄ¿±ê»úµÄtftp-clientÖ§³Ö¡£ÒòΪu-boot±¾ÉíÄÚÖÃÖ§³Ötftp-client£¬ËùÒÔǶÈëʽĿ±ê»ú¾Í²»ÓÃÅäÖÃÁË¡£ÏÂÃæ¾ÍÏêϸ½éÉÜÒ»ÏÂlinuxËÞÖ÷»útftp-serverµÄ°²×°ÅäÖá£
......
LinuxÏÂÈí¼þ¡¢PHPºÍPerlµÄÄ£¿éµÈ¶¼ÊµÏÖÁË×Ô¶¯°²×°£¬ÕæµÄºÜ·½±ã£¬±¾Îļòµ¥½éÉÜһϡ£
linuxÏ¿ÉÒÔʹÓÃyum¹¤¾ß£¬RedhatÏÂ×Ô¶¯´øÓУº
yum list php* //¿ÉÒԲ鿴phpµÄÏà¹ØÄ£¿é
yum install php //°²×°phpÕâ¸öÄ£¿é
phpÄ£¿éµÄ×Ô¶¯°²×°(ÀûÓÃpecl.php.netºÍpear.php.netÔÚÏß°²×°)£º
ÀûÓÃpearºÍpecl¹¤¾ß£¬Ê×ÏÈÐèÒª° ......
tcÊǸöÅäÖÃLinuxÄÚºËÁ÷Á¿¿ØÖƵŤ¾ß Ãû×Ö tc - ÏÔʾ£¯Î¬»¤Á÷Á¿¿ØÖÆÅäÖà ժҪ tc qdisc [ add | change | replace | link ] dev DEV [ parent qdisc-id | root ] [ handle qdisc-id ] qdisc [ qdisc specific parameters ] tc class [ add | change | replace ] dev DEV parent qdisc-id [ classid class-id ] qd ......