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

RHCE——RH033Ö®linuxϵĴòÓ¡»ú

 
system-config-printer        ͼÐνçÃæÉèÖôòÓ¡»ú
 
 
BSD(FreeBSD)/System V
 
lpr/lp  ´òÓ¡ÎļþÃû           ´òÓ¡
lpr  -P´òÓ¡»úÃû  ´òÓ¡ÎļþÃû 
lp   -d´òÓ¡»úÃû
 
lpq  -P´òÓ¡»úÃû              ²é¿´µ±Ç°queueÄÚÈÝ£¬¼´ÓÐÄÄЩ´òÓ¡¹¤×÷ÔÚqueue
lpstat -d´òÓ¡»úÃû            ÀïÅŶӣ¬lpstat¿ÉÒ»´Î²éѯËùÓдòÓ¡»úµÄ״̬£¬ ¶ølpqÖ»Äܲ鿴ĬÈÏ´òÓ¡»úµÄ״̬
lprm/cancle                  ɾ³ýqueueÀïµÄ´òÓ¡¹¤×÷
lprm  2                      ɾ³ýjobIDΪ2µÄ´òÓ¡¹¤×÷£¬
cancle 2
lpmove  a-1  b               a´òÓ¡»ú³ö¹ÊÕϺ󣬽«a´òÓ¡»úqueueÀïjobIDΪ9µÄ¹¤×÷ °áÒƵ½b´òÓ¡»úµÄqueueÀïµÈ´ý ´ò Ó¡£¬°áÒƺóÓÃlpstat²é ѯ״̬£¬²»ÄÜ°áÒÆaÖе±Ç°×´Ì¬ÎªactiveµÄ´òÓ¡¹¤×÷
lp  -i17  -q51               i¾ÍÊÇjobID£¬½«µ±Ç°jobIDΪ17µÄ´òÓ¡¹¤×÷ÓÅÏȼ¶¸ÄΪ51£¬ ÒòΪËùÓй¤×÷ĬÈÏÓÅÏȼ¶Îª50£¬Èç¹ûµ±Ç°ÓдòÓ¡¹¤×÷£¬µ« ÊÇÓÖÏëÏÈ´òÓ¡jobIDΪ17µÄ¹¤×÷£¬¿ÉÒÔÏÈ£º
   disable  µ±Ç°´òÓ¡»úÃû£¨¼´disable  b£©
   È»ºóÖ´ÐУº
   /usr/bin/enable  µ±Ç°´òÓ¡»úÃû£¨¼´/usr/bin/enable b£©
   Disable¾ÍÊÇÔÚ¿ª¹ØqueueºÍinput filterÖ®¼äµÄãÅÃÅ£¬disableºó£¬queueÀïµÄÎļþ²»ÔÙÍùinput filterÀï´«µÝ£»
  Èç¹ûÒª¿ª¹ØµÚÒ»µÀãÅÃÅ£¬¼´documentsºÍqueueÖ®¼äµÄãÅÃÅ£¬ ¿ÉÒÔͨ¹ýaccept/reject£¬¹Ø±ÕµÚÒ»µÀãÅÃź󣬵±´òÓ¡Îļþ ʱ¾Í»á³öÏÖ²»ÄÜ´òÓ¡µÄÐÅÏ¢¡£
  reject  ´òÓ¡»úÃû
 
/var/spool/cups 


Ïà¹ØÎĵµ£º

linuxÖ®gccÃüÁî

      ÔÚLinuxϽøÐÐCÓïÑÔ±à³Ì£¬±ØȻҪ²ÉÓÃGNU GCCÀ´±àÒëCÔ´´úÂëÉú³É¿ÉÖ´ÐгÌÐò¡£GccÖ¸ÁîµÄÒ»°ã¸ñʽΪ£º
Gcc [Ñ¡Ïî] Òª±àÒëµÄÎļþ [Ñ¡Ïî] [Ä¿±êÎļþ]¡£ÆäÖУ¬Ä¿±êÎļþ¿Éȱʡ£¬GccĬÈÏÉú³É¿ÉÖ´ÐеÄÎļþÃûΪ£º±àÒëÎļþ.out
¿´Ò»Ï¾­µäÈëÃųÌÐò"Hello World£¡"
# vi hello.c £¬±à¼­ÈçÏ£º
#inclu ......

linuxÏÂÈçºÎÉèÖÃnfs¹²Ïí

ÍøÂçÎļþϵͳ£¨NFS£¬Network File System£©ÊÇÒ»ÖÖ½«Ô¶³ÌÖ÷»úÉϵķÖÇø£¨Ä¿Â¼£©¾­ÍøÂç¹ÒÔص½±¾µØϵͳµÄÒ»ÖÖ»úÖÆ£¬Í¨¹ý¶ÔÍøÂçÎļþϵͳµÄÖ§³Ö£¬Óû§¿ÉÒÔÔÚ±¾µØϵͳÉÏÏñ²Ù×÷±¾µØ·ÖÇøÒ»ÑùÀ´¶ÔÔ¶³ÌÖ÷»úµÄ¹²Ïí·ÖÇø£¨Ä¿Â¼£©½øÐвÙ×÷¡£
ÔÚǶÈëʽLinux µÄ¿ª·¢¹ý³ÌÖУ¬¿ª·¢ÕßÐèÒªÔÚLinux ·þÎñÆ÷ÉϽøÐÐËùÓеÄÈí¼þ¿ª·¢£¬½»²æ±àÒëºó£¬Í¨Ó ......

Linux¶¯Ì¬¿â(.so)ËÑË÷·¾¶

ÔÚLinux ÖУ¬¶¯Ì¬¿âµÄËÑË÷·¾¶³ýÁËĬÈϵÄËÑË÷·¾¶Í⣬»¹¿Éͨ¹ýÈýÖÖ·½·¨À´Ö¸¶¨£º·½·¨Ò»£ºÔÚÅäÖÃÎļþ/etc/ld.so.confÖÐÖ¸¶¨¶¯Ì¬¿âËÑË÷·¾¶£»·½·¨¶þ£ºÍ¨¹ý»·¾³±äÁ¿LD_LIBRARY_PATHÖ¸¶¨¶¯Ì¬¿âËÑË÷·¾¶£»·½·¨Èý£ºÔÚ±àÒëÄ¿±ê´úÂëʱָ¶¨¸Ã³ÌÐòµÄ¶¯Ì¬¿âËÑË÷·¾¶¡£
ÖÚËùÖÜÖª£¬Linux¶¯Ì¬¿âµÄĬÈÏËÑË÷·¾¶ÊÇ/libºÍ/usr/lib¡£¶¯Ì¬¿â±» ......

LinuxµÄÆô¶¯²½Öè


Load Bios
Read MBR's config to find out the os
Load the kernel of the os
init Process starts
execute /etc/rc.d /sysinit
start other modules (etc/modules.conf)
execute the run level scripts
execute /etc/rc.d/rc.local
execute /bin/login
shell started
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ