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

Linux ¼¼ÇÉ£ºÈýø³ÌÔÚºǫ́¿É¿¿ÔËÐеļ¸ÖÖ·½·¨


¼¶±ð£º Öм¶
Éê Òã (shenyyi@cn.ibm.com),
Èí¼þ¹¤³Ìʦ, IBM ÖйúÈí¼þ¿ª·¢ÖÐÐÄ
2008 Äê 5 ÔÂ 29 ÈÕ
ÏëÈýø³ÌÔڶϿªÁ¬½ÓºóÒÀÈ»±£³ÖÔËÐУ¿Èç¹û¸Ã½ø³ÌÒѾ­¿ªÊ¼ÔËÐÐÁ˸ÃÈçºÎ²¹¾È£¿ Èç¹ûÓдóÁ¿ÕâÀàÐèÇóÈçºÎ¼ò»¯²Ù×÷£¿
ÎÒÃǾ­³£»áÅöµ½ÕâÑùµÄÎÊÌ⣬Óà telnet/ssh µÇ¼ÁËÔ¶³ÌµÄ Linux ·þÎñÆ÷£¬ÔËÐÐÁËһЩºÄʱ½Ï³¤µÄÈÎÎñ£¬
½á¹ûÈ´ÓÉÓÚÍøÂçµÄ²»Îȶ¨µ¼ÖÂÈÎÎñÖÐ;ʧ°Ü¡£ÈçºÎÈÃÃüÁîÌá½»ºó²»Êܱ¾µØ¹Ø±ÕÖն˴°¿Ú/ÍøÂç¶Ï¿ªÁ¬½ÓµÄ¸ÉÈÅÄØ£¿ÏÂÃæ¾ÙÁËһЩÀý×Ó£¬
Äú¿ÉÒÔÕë¶Ô²»Í¬µÄ³¡¾°Ñ¡Ôñ²»Í¬µÄ·½Ê½À´´¦ÀíÕâ¸öÎÊÌâ¡£
nohup/setsid/&
³¡¾°£º
Èç¹ûÖ»ÊÇÁÙʱÓÐÒ»¸öÃüÁîÐèÒª³¤Ê±¼äÔËÐУ¬Ê²Ã´·½·¨ÄÜ×î¼ò±ãµÄ±£Ö¤ËüÔÚºǫ́Îȶ¨ÔËÐÐÄØ£¿
hangup Ãû³ÆµÄÀ´ÓÉ
ÔÚ Unix
µÄÔçÆÚ°æ±¾ÖУ¬Ã¿¸öÖն˶¼»áͨ¹ý modem ºÍϵͳͨѶ¡£µ±Óû§ logout ʱ£¬modem ¾Í»á¹Ò¶Ï£¨hang up£©µç»°¡£ ͬÀí£¬µ± modem
¶Ï¿ªÁ¬½Óʱ£¬¾Í»á¸øÖն˷¢ËÍ hangup ÐźÅÀ´Í¨ÖªÆä¹Ø±ÕËùÓÐ×Ó½ø³Ì¡£
½â¾ö·½·¨£º
ÎÒÃÇÖªµÀ£¬µ±Óû§×¢Ïú£¨logout£©»òÕßÍøÂç¶Ï¿ªÊ±£¬Öն˻áÊÕµ½
HUP£¨hangup£©ÐźŴӶø¹Ø±ÕÆäËùÓÐ×Ó½ø³Ì¡£Òò´Ë£¬ÎÒÃǵĽâ¾ö°ì·¨¾ÍÓÐÁ½ÖÖ;¾¶£ºÒªÃ´Èýø³ÌºöÂÔ HUP
Ðźţ¬ÒªÃ´Èýø³ÌÔËÐÐÔÚеĻỰÀï´Ó¶ø³ÉΪ²»ÊôÓÚ´ËÖն˵Ä×Ó½ø³Ì¡£
1. nohup
nohup ÎÞÒÉÊÇÎÒÃÇÊ×ÏÈÏëµ½µÄ°ì·¨¡£¹ËÃû˼Ò壬nohup µÄÓÃ;¾ÍÊÇÈÃÌá½»µÄÃüÁîºöÂÔ hangup Ðźš£ÈÃÎÒÃÇÏÈÀ´¿´Ò»Ï nohup
µÄ°ïÖúÐÅÏ¢£º
NOHUP(1) User Commands NOHUP(1)
NAME
nohup - run a command immune to hangups, with output to a non-tty
SYNOPSIS
nohup COMMAND [ARG]...
nohup OPTION
DESCRIPTION
Run COMMAND, ignoring hangup signals.
--help display this help and exit
--version
output version information and exit
¿É¼û£¬nohup µÄʹÓÃÊÇÊ®·Ö·½±ãµÄ£¬Ö»ÐèÔÚÒª´¦ÀíµÄÃüÁîÇ°¼ÓÉÏ nohup ¼´¿É£¬±ê×¼Êä³öºÍ±ê×¼´íÎóȱʡ»á±»Öض¨Ïòµ½ nohup.out
ÎļþÖС£Ò»°ãÎÒÃÇ¿ÉÔÚ½áβ¼ÓÉÏ"&"À´½«ÃüÁîͬʱ·ÅÈëºǫ́ÔËÐУ¬Ò²¿ÉÓÃ">filename
2>&1"À´¸ü¸ÄȱʡµÄÖض¨ÏòÎļþÃû¡£
nohup ʾÀý

[root@pvcent107 ~]# nohup ping www.ibm.com &
[1] 3059
nohup: appending output to `nohup.out'
[root@pvcent107 ~]# ps -ef |grep 3059
root 3059 984 0 21:06 pts/3 0


Ïà¹ØÎĵµ£º

LinuxÄÚºËÅäÖÃÎĵµ(make menuconfig)

Ò»¡¢ÒýÑÔ£º
    ±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......

Linuxƽ̨Ï´Fortran²¢ÐбàÒë»·¾³(SLES10 )

SLES10 Linux£¨kernel-2.6.16.21-0.8£©Æ½Ì¨Ï´Fortran²¢ÐбàÒë»·¾³
Ò»£®Fortran±àÒëÆ÷µÄ°²×°
Linux°²×°ÅÌÒ»°ã¶¼×Ô´øÓÐFortran±àÒëÆ÷£¬ÔÚSuSe9.1ÒÔÇ°¾ù´øÓÐg77£¬ÔÚSuse9.2ÒÔºóΪgfortran¡£µ«ÊÇ£¬Ïà¶ÔÀ´Ëµ£¬ÓÉÓÚg77ºÍgfortranµÄ±àÒëµÄ³ÌÐòÔËÐÐЧÂʲ»ÊǺܸߣ¬ËùÒÔ¶¼»áÑ¡ÔñÔÙ°²×°×¨ÒµµÄFortran±àÒëÆ÷¡£
Ö÷Á÷µÄFortran 90/ ......

Linux+Apache+Mysql+PhpÏêϸ°²×°Îĵµ

ËùÐèÈí¼þÔ´´úÂë°ü£º
httpd-2.2.4.tar.gz   mysql-5.0.27.tar.gz   php-5.2.1.tar.bz2
freetype-2.3.2.tar.gz   gd-2.0.34.tar.gz   jpegsrc.v6b.tar.gz
libpng-1.2.8.tar.bz2   libxml2-2.6.24.tar.bz2  zlib-1.2.2.tar.gz
°²×°Ë³Ðò£ºapache -> mysql ......

LinuxÎļþ²éÕÒÃüÁîfind,xargsÏêÊö

LinuxÎļþ²éÕÒÃüÁîfind,xargsÏêÊö
×ܽ᣺zhy2111314
À´×Ô£ºLinuxSir.Org
ÕûÀí£º±±ÄÏÄϱ±
ÕªÒª£º ±¾ÎÄÊÇfind ÃüÁîµÄÏêϸ˵Ã÷£¬¿É¹óµÄÊÇÕë¶Ô²ÎÊý¾ÙÁ˺ܶàµÄʵÀý£¬´óÁ¿µÄÀýÖ¤£¬ÈóõѧÕ߸üΪÈÝÒ×Àí½â£»±¾ÎÄÊÇzhyflyÐÖÌùÔÚÂÛ̳ÖУ»ÎÒ¶Ô±¾ÎĽøÐÐÁËÔÙ´ÎÕûÀí£¬Îª·½±ã´ó¼ÒÔĶÁ£»
Ŀ¼
°æȨÉùÃ÷
Ç°ÑÔ£º¹ØÓÚfindÃüÁî
Ò»¡¢ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ