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

linux ÈÃÄãµÄ½ø³Ìºǫ́ÔËÐÐ

fg¡¢bg¡¢jobs¡¢&¡¢ctrl + z¶¼ÊǸúϵͳÈÎÎñÓйصģ¬ËäÈ»ÏÖÔÚ»ù±¾Éϲ»ÔõôÐèÒªÓõ½ÕâЩÃüÁµ«Ñ§»áÁËÒ²ÊǺÜʵÓõÄ
Ò»¡£& ×î¾­³£±»Óõ½
   Õâ¸öÓÃÔÚÒ»¸öÃüÁîµÄ×îºó£¬¿ÉÒÔ°ÑÕâ¸öÃüÁî·Åµ½ºǫִ́ÐÐ
¶þ¡£ctrl + z
     ¿ÉÒÔ½«Ò»¸öÕýÔÚǰִ̨ÐеÄÃüÁî·Åµ½ºǫ́£¬²¢ÇÒÔÝÍ£
Èý¡£jobs
     ²é¿´µ±Ç°ÓжàÉÙÔÚºǫ́ÔËÐеÄÃüÁî
ËÄ¡£fg
     ½«ºǫ́ÖеÄÃüÁîµ÷ÖÁǰ̨¼ÌÐøÔËÐÐ
   Èç¹ûºǫ́ÖÐÓжà¸öÃüÁ¿ÉÒÔÓà fg %jobnumber½«Ñ¡ÖеÄÃüÁîµ÷³ö£¬%jobnumberÊÇͨ¹ýjobsÃüÁî²éµ½µÄºǫ́ÕýÔÚÖ´ÐеÄÃüÁîµÄÐòºÅ(²»ÊÇpid)
Îå¡£bg
     ½«Ò»¸öÔÚºǫ́ÔÝÍ£µÄÃüÁ±ä³É¼ÌÐøÖ´ÐÐ
   Èç¹ûºǫ́ÖÐÓжà¸öÃüÁ¿ÉÒÔÓÃbg %jobnumber½«Ñ¡ÖеÄÃüÁîµ÷³ö£¬%jobnumberÊÇͨ¹ýjobsÃüÁî²éµ½µÄºǫ́ÕýÔÚÖ´ÐеÄÃüÁîµÄÐòºÅ(²»ÊÇpid)    
 
µ±Ç°ÕýÔÚÔËÐеijÌÐòÓà   CTRL+zÀ´¹ÒÈëºǫ́,ÓÃfg À´»½ÐÑ.¿ÉÒÔ½øÐжà½ø³ÌÇл».
Unix/LinuxÏÂÒ»°ã±ÈÈçÏëÈÃij¸ö³ÌÐòÔÚºǫ́ÔËÐУ¬ºÜ¶à¶¼ÊÇʹÓà & ÔÚ³ÌÐò½áβÀ´ÈóÌÐò×Ô¶¯ÔËÐС£±ÈÈçÎÒÃÇÒªÔËÐÐmysqlÔÚºǫ́£º
/usr/local/mysql/bin/mysqld_safe --user=mysql &
µ«ÊǼÓÈëÎÒÃǺܶà³ÌÐò²¢²»ÏómysqldÒ»Ñù×ö³ÉÊØ»¤½ø³Ì£¬¿ÉÄÜÎÒÃǵijÌÐòÖ»ÊÇÆÕͨ³ÌÐò¶øÒÑ£¬Ò»°ãÕâÖÖ³ÌÐòʹÓà & ½á⣬
ÎÞÂÛÊÇ·ñ½« nohup ÃüÁîµÄÊä³öÖض¨Ïòµ½Öնˣ¬Êä³ö¶¼½«¸½¼Óµ½µ±Ç°Ä¿Â¼µÄ nohup.out ÎļþÖС£
Èç¹ûµ±Ç°Ä¿Â¼µÄ nohup.out Îļþ²»¿Éд£¬Êä³öÖض¨Ïòµ½ $HOME/nohup.out ÎļþÖС£
Èç¹ûûÓÐÎļþÄÜ´´½¨»ò´ò¿ªÒÔÓÃÓÚ×·¼Ó£¬ÄÇô Command ²ÎÊýÖ¸¶¨µÄÃüÁî²»¿Éµ÷Óá£
Èç¹û±ê×¼´íÎóÊÇÒ»¸öÖնˣ¬ÄÇô°ÑÖ¸¶¨µÄÃüÁîд¸ø±ê×¼´íÎóµÄËùÓÐÊä³ö×÷Ϊ±ê×¼Êä³öÖض¨Ïòµ½ÏàͬµÄÎļþÃèÊö·û¡£
Í˳ö״̬
¸ÃÃüÁî·µ»ØÏÂÁгö¿ÚÖµ£º
126 ¿ÉÒÔ²éÕÒµ«²»Äܵ÷Óà Command ²ÎÊýÖ¸¶¨µÄÃüÁî¡£
127 nohup ÃüÁî·¢Éú´íÎó»ò²»ÄܲéÕÒÓÉ Command ²ÎÊýÖ¸¶¨µÄÃüÁî¡£
·ñÔò£¬nohup ÃüÁîµÄÍ˳ö״̬ÊÇ Command ²ÎÊýÖ¸¶¨ÃüÁîµÄÍ˳ö״̬¡£
ʾÀý
ÒªÔËÐÐ×¢Ïúºóºǫ́ÖеÄÃüÁÇëÊäÈ룺
$ nohup find / -print &
ÊäÈë¸ÃÃüÁîºó£¬ÏÔʾÈçÏ£º
670$ Êä³ö·¢Ë͵½ nohup.out
½ø³Ì ID ºÅ¸ü¸ÄΪ & £¨±íʾ“and”µÄ·ûºÅ£©Æô¶¯µÄºǫ́½ø³ÌµÄ ID ºÅ¡£
ÏûÏ¢ Êä³ö·¢Ë͵½ nohup.out ֪ͨÄúÀ´×Ô find / -print ÃüÁîµÄÊä³öÔÚ nohup.out ÎļþÖС£
²é¿´ÕâÐ


Ïà¹ØÎĵµ£º

VMwareÉÏCentOS LinuxÍøÂçÅäÖÃ

½«ÁªÍø·½Ê½ÉèÖÃΪNAT
µÚÒ»²½£º
      cdµ½/etc/sysconfig/network-scriptsϵµÄifcfg-eth0
µÚ¶þ²½£º
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
#BOOTPROTO=static
BOOTPROTO=none
BROADCAST=192.168.174.255
HWADDR=00:0C:29:F2:BB:A9
IPADDR=192.168.174.11 ......

°²×°ubuntu linux²Ù×÷ϵͳ

Ò»¡¢ÏÂÔØubuntu²Ù×÷ϵͳ
http://www.ubuntu.com.cn/
ÎÒÔÚÕâ¸öÍøÕ¾ÏÂÔØubuntu 10.04 LTS°æ±¾µÄ£¬²¢Ð´³É¹âÅ̸ñʽ¡£
¶þ¡¢°²×°ubuntu linux
£¨1£©ÉèÖÃbios´Ó¹âÅÌÒýµ¼
£¨2£©Æô¶¯¼ÆËã»úÖ®ºó»á³öÏÖÒ»¸öinstall´°¿Ú£¬²¢ÏÔʾÁË»¶Ó­ÐÅÏ¢£¬Ñ¡ÔñÓïÑÔ£ºÖÐÎÄ£¨¼òÌ壩£¬ËûÌṩÁËÊÔÓúͰ²×°Á½¸öÑ¡ÏÎÒÑ¡ÔñÁË“ÊÔÓÃUbuntu 10.04 ......

ÈçºÎ¹²ÏílinuxÓëxpµÄÎļþ¼Ð

step1£º
              ÔÚubuntuÀïÃæÓÒ»÷Òª¹²ÏíµÄÎļþ¼Ð£¬»áÌáʾ°²×°Èí¼þ£¬Ñ¡Ôñ°²×°¼´¿É£»
step2£º
              ʵÏÖxpÄäÃû·ÃÎÊUbuntu¹²ÏíÎļþ¼Ð£¬ ÔòÖ»ÐèÐÞ¸Ä/etc/samba/smb.co ......

linux ÏÂÊÖ¶¯´´½¨Êý¾Ý¿â

1 Ê×ÏÈORACLE_SIDÎÊÌâ
[oracle@paopao ~]$ echo $ORACLE_SID
orcl
ÒòΪҪ´´½¨µÄÊý¾Ý¿âÃûΪorcl1£¬ËùÒÔ¸ü¸ÄORACLE_SIDÈçÏ£º
 [oracle@paopao ~]$ export ORACLE_SID=orcl1
2 ×¼±¸³õʼ»¯²ÎÊýÎļþ
 
##########################################################################
####
# Copyright (c) 19 ......

linux²¶»ñKILLÃüÁîµÄÐźÅ

linuxÖÐÒ»¹²ÓÐ32ÖÖÐźţ¬ÔÚ/usr/include/bits/signum.h Í·ÎļþÖпÉÒÔ¿´µ½
#define    SIGHUP        1    /* Hangup (POSIX).  */
#define    SIGINT        2    /* Interrupt (ANSI).& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ