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

LINUXºǫ́½ø³Ì¹ÜÀí

fg¡¢bg¡¢jobs¡¢&¡¢ctrl + z¶¼ÊǸúϵͳÈÎÎñÓйصģ¬ËäÈ»ÏÖÔÚ»ù±¾Éϲ»ÔõôÐèÒªÓõ½ÕâЩÃüÁµ«Ñ§»áÁËÒ²ÊǺÜʵÓõÄ
Ò»¡£& ×î¾­³£±»Óõ½
Õâ¸öÓÃÔÚÒ»¸öÃüÁîµÄ×îºó£¬¿ÉÒÔ°ÑÕâ¸öÃüÁî·Åµ½ºǫִ́ÐÐ
¶þ¡£ctrl + z
¿ÉÒÔ½«Ò»¸öÕýÔÚǰִ̨ÐеÄÃüÁî·Åµ½ºǫ́£¬²¢ÇÒÔÝÍ£
Èý¡£jobs
²é¿´µ±Ç°ÓжàÉÙÔÚºǫ́ÔËÐеÄÃüÁî
ËÄ¡£fg
½«ºǫ́ÖеÄÃüÁîµ÷ÖÁǰ̨¼ÌÐøÔËÐÐ
Èç¹ûºǫ́ÖÐÓжà¸öÃüÁ¿ÉÒÔÓà fg %jobnumber½«Ñ¡ÖеÄÃüÁîµ÷³ö£¬%jobnumberÊÇͨ¹ýjobsÃüÁî²éµ½µÄºǫ́ÕýÔÚÖ´ÐеÄÃüÁîµÄÐòºÅ(²»ÊÇpid)
Îå¡£bg
½«Ò»¸öÔÚºǫ́ÔÝÍ£µÄÃüÁ±ä³É¼ÌÐøÖ´ÐÐ
Èç¹ûºǫ́ÖÐÓжà¸öÃüÁ¿ÉÒÔÓÃbg %jobnumber½«Ñ¡ÖеÄÃüÁîµ÷³ö£¬%jobnumberÊÇͨ¹ýjobsÃüÁî²éµ½µÄºǫ́ÕýÔÚÖ´ÐеÄÃüÁîµÄÐòºÅ(²»ÊÇpid) LinuxÏÂʹÓÃShellÃüÁî¿ØÖÆÈÎÎñJobsÖ´ÐÐ ÏÂÁÐÃüÁî¿ÉÒÔÓÃÀ´²Ù×ݽø³ÌÈÎÎñ£º
ps ÁгöϵͳÖÐÕýÔÚÔËÐеĽø³Ì£»
kill ·¢ËÍÐźŸøÒ»¸ö»ò¶à¸ö½ø³Ì£¨¾­³£ÓÃÀ´É±ËÀÒ»¸ö½ø³Ì£©£»
jobs Áгöµ±Ç°shell»·¾³ÖÐÒÑÆô¶¯µÄÈÎÎñ״̬£¬Èôδָ¶¨jobsid£¬ÔòÏÔʾËùÓлµÄÈÎÎñ״̬ÐÅÏ¢£»Èç¹û±¨¸æÁËÒ»¸öÈÎÎñµÄÖÕÖ¹(¼´ÈÎÎñµÄ״̬±»±ê¼ÇΪTerminated)£¬shell ´Óµ±Ç°µÄshell»·¾³ÒÑÖªµÄÁбíÖÐɾ³ýÈÎÎñµÄ½ø³Ì±êʶ£»
bg ½«½ø³Ì°áµ½ºǫ́ÔËÐУ¨Background£©£»
fg ½«½ø³Ì°áµ½Ç°Ì¨ÔËÐУ¨Foreground£©£»
½«job×ªÒÆµ½ºǫ́ÔËÐÐ
Èç¹ûÄã¾­³£ÔÚXͼÐÎϹ¤×÷£¬Äã¿ÉÄÜÓÐÕâÑùµÄ¾­Àú£ºÍ¨¹ýÖÕ¶ËÃüÁîÔËÐÐÒ»¸öGUI³ÌÐò£¬GUI½çÃæ³öÀ´ÁË£¬µ«ÊÇÄãµÄÖÕ¶Ë»¹Í£ÁôÔÚÔ­µØ£¬Äã²»ÄÜÔÚshellÖмÌÐøÖ´ÐÐÆäËûÃüÁîÁË£¬³ý·Ç½«GUI³ÌÐò¹Øµô¡£
ΪÁËʹ³ÌÐòÖ´ÐкóÖÕ¶Ë»¹ÄܼÌÐø½ÓÊÜÃüÁÄã¿ÉÒÔ½«½ø³ÌÒÆµ½ºǫ́ÔËÐУ¬Ê¹ÓÃÈçÏÂÃüÁîÔËÐгÌÐò£º #¼ÙÉèÒªÔËÐÐxmms
$xmms &
ÕâÑù´ò¿ªxmmsºó£¬Öն˵ÄÌáʾÓÖ»ØÀ´ÁË¡£ÏÖÔÚxmmsÔÚºǫ́ÔËÐÐ×ÅÄØ£»µ«ÍòÒ»ÄãÔËÐгÌÐòʱÍü¼ÇʹÓá°&¡±ÁË£¬ÓÖ²»ÏëÖØÐÂÖ´ÐУ»Äã¿ÉÒÔÏÈʹÓÃctrl+z¹ÒÆð³ÌÐò£¬È»ºóÇÃÈëbgÃüÁÕâÑù³ÌÐò¾ÍÔÚºǫ́¼ÌÐøÔËÐÐÁË¡£
¸ÅÄµ±Ç°ÈÎÎñ
Èç¹ûºǫ́µÄÈÎÎñºÅÓÐ2¸ö£¬[1],[2]£»Èç¹ûµ±µÚÒ»¸öºǫ́ÈÎÎñ˳ÀûÖ´ÐÐÍê±Ï£¬µÚ¶þ¸öºǫ́ÈÎÎñ»¹ÔÚÖ´ÐÐÖÐʱ£¬µ±Ç°ÈÎÎñ±ã»á×Ô¶¯±ä³Éºǫ́ÈÎÎñºÅÂë¡°[2]¡±µÄºǫ́ÈÎÎñ¡£ËùÒÔ¿ÉÒԵóöÒ»µã£¬¼´µ±Ç°ÈÎÎñÊÇ»á±ä¶¯µÄ¡£µ±Óû§ÊäÈë¡°fg¡±¡¢¡°bg¡±ºÍ¡°stop¡±µÈÃüÁîʱ£¬Èç¹û²»¼ÓÈκÎÒýºÅ£¬ÔòËù±ä¶¯µÄ¾ùÊǵ±Ç°ÈÎÎñ¡£
²ì¿´jobs
ʹÓÃjobs»òpsÃüÁî¿ÉÒԲ쿴ÕýÔÚÖ´ÐеÄjobs¡£


Ïà¹ØÎĵµ£º

Tips: linux½ø³ÌºÍÏ̲߳îÒì(0)


1 linux½ø³ÌÓëÏ̵߳ÄÁªÏµºÍÇø±ð£º
    ÔÚlinuxÖУ¬Ḭ̈߳´ÕÕ½ø³ÌµÄ·½Ê½ÊµÏÖ¡£ÆäʵÏÖ»úÖÆÓësolarisºÍwindows²îÒìºÜ´ó¡£
    ÔÚÏÖ´ú²Ù×÷ϵͳÖУ¬½ø³ÌÖ§³Ö¶àỊ̈߳¬½ø³ÌÊÇ×ÊÔ´¹ÜÀíÒÔ¼°·ÖÅäµÄ×îСµ¥Ôª£¬Ïß³ÌÊdzÌÐòÖ´ÐеÄ×îСµ¥Ôª¡£Ò»¸ö½ø³ÌʵÌå·ÖΪ£ºÏ̼߳¯ºÍ×ÊÔ´¼¯(°üÀ¨µØÖ·¿Õ¼ä¡¢´ò¿ªµÄÎļþÒ ......

LinuxÏÂ80¶Ë¿Ú±»Õ¼ÓÃ

½â¾ö·½°¸£ºlinux Ͻ«tomcatµÄserver.xmlµÄ¶Ë¿Ú¸ÄΪ80ºóÒÔtomcatÉí·ÝÎÞ·¨Æô¶¯tomcat¡£
 
ÔÚredhatÉÏÆô¶¯tomcat£¨½«server.xmlÖеĶ˿ڸÄΪ80£©
 
su - tomcat -c "$CATALINA_HOME/bin/startup.sh"
 
ºó³öÏÖ£ºCatalina.start: LifecycleException: null.open: java.net.BindException: Permission deni ......

£¨zz£©LinuxÏÂOpenGL¿ª·¢»·¾³´î½¨

×¼±¸Æª
»·¾³ÊÇFedora 8
Ê×ÏÈÐèÒª°²×°OpenGLµÄ¿ª·¢»·¾³¡£ÏÖÔÚLinuxÏÂÓкܶàOpenGLµÄʵÏÖ£¬Fedora 7ÖÐÒѾ­¸½´øÁËMesa,ÕâÊÇOpenGLÒ»¸ö¿ªÔ´µÄʵÏÖ¡£°²×°FedoraʱÈç¹ûÑ¡ÖÐÁË¿ª·¢»·¾³£¬ÄÇôMesa¿ÉÄܾÍÒѾ­°²×°ºÃÁË¡£Èç¹ûÄãºÍÎÒÒ»Ñù°²×°µÄʱºòûÓÐÑ¡Ôñ¿ª·¢£¬ÄÇô£¬¿ÉÒÔͨ¹ýyumÀ´ÔÚÏß°²×°Mesa£º
Ê×ÏȲéÕÒMesaÏà¹ØµÄ°ü£º
&nbs ......

linuxϵĶÁÅäÖÃÎļþµÄ³ÌÐò

config.h
/*--  
   
  Copyright   (c)   2004   Shenzhen   Huaren   Education   Co.Ltd  
   
  File   Name:  
  config.h  
  Ver ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ