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

Linux bashÃüÁî

Linux .bash_profileÖÐ umask 022 ÉèÖÃÎÊÌâ
===========================================================
×÷Õß: tolywang(http://tolywang.itpub.net)
·¢±íÓÚ:2008.06.21 09:46
·ÖÀà: Linux/Unix¹ÜÀí
³ö´¦£ºhttp://tolywang.itpub.net/post/48/464765
---------------------------------------------------------------
ORACLE_BASE=/u01/product;export ORACLE_BASE
ORACLE_TERM=vt100;export ORACLE_TERM
PS1=`hostname`'<$PWD>$';export PS1
EDITOR=/bin/vi; export EDITOR
ORA_NLS33=/u01/product/oracle/ocommon/nls/admin/data;export ORA_NLS33
CLASSPATH=/u01/product/oracle/jdbc/lib/classesl11.zip:/usr/local/java;
export DISPLAY=127.0.0.1:0.0
export LD_ASSUME_KERNEL=2.4.1
PATH=$ORACLE_HOME/bin:$PATH:.; export PATH
umask 022
alias ll='ls -l';
alias ls='ls --color';
ÎÒÃÇÔÚLinuxϵͳÏ°²×°OracleÊý¾Ý¿âµÄʱºò£¬ÉèÖÃOracleÓû§µÄprofile , .bash_profile ÎļþÖÐÉèÖÃÓÐ umask 022 , ÊÇ×÷ʲôÓõÄÄØ £¿
$ umask 022
umask
¹¦ÄÜ˵Ã÷£ºÖ¸¶¨ÔÚ½¨Á¢ÎļþʱԤÉèµÄȨÏÞÑÚÂë¡£
Óï¡¡¡¡·¨£ºumask [-S][ȨÏÞÑÚÂë]
²¹³ä˵Ã÷£ºumask¿ÉÓÃÀ´É趨[ȨÏÞÑÚÂë]¡£[ȨÏÞÑÚÂë]ÊÇÓÉ3¸ö°Ë½øÖƵÄÊý×ÖËù×é³É£¬½«ÏÖÓеĴæȡȨÏÞ¼õµôȨÏÞÑÚÂëºó£¬¼´¿É²úÉú½¨Á¢ÎļþʱԤÉèµÄȨÏÞ¡£
²Î¡¡¡¡Êý£º
-S ¡¡ÒÔÎÄ×ֵķ½Ê½À´±íʾȨÏÞÑÚÂë¡£
Îļþ£ºÓð˽øÖÆ»ùÊý666£¬¼´ÎÞx루¿ÉÖ´ÐÐ룩rw- rw- rw-.Ö´ÐÐλÐèÓÉÓû§×ÔÐмÓÈë
ÀýÒ»£ºÉèÒªÉú³ÉµÄÎļþÒÔrw- r-- r--ÕâÑùµÄȨÏÞ×Ö³öÏÖ£¬¼´ÕæʵȨÏÞÓð˽øÖƱíʾΪ644£¬Ôò±»666»ùÊý¼õµÃ022£¬022¼´ÑÚÂ롣ʹÓÃumask 022¡£
×¢£º033Ч¹ûÓë022Ò»Ñù£¬¼ÙÉèʹÓÃ033ÑÚÂë½øÐÐÉèÖã¬ÔòÕæʵȨÏÞӦΪ633¼´rw- r-x r-x £¬µ«Ç°Ìá¹æ¶¨Îļþ²»Éú³Éx룬ËùÒÔÎļþµÄȨÏÞ×îÖÕ½«ÒÔrw-r--r--³öÏÖ¡£
Ŀ¼£ºÓð˽øÖÆ»ùÊý777
Àý¶þ£ºÉèÒªÉú³ÉµÄĿ¼ȨÏÞÒÔrwxr-xr-xÕâÑùµÄȨÏÞ×Ö³öÏÖ£¬¼´ÕæʵȨÏÞÓð˽øÖƱíʾΪ755£¬Ôò±»»ùÊýΪ777µÄȨÏÞ×ÖÏà¼õºó£¬µÃÑÚÂë022¡£ÔòʹÓÃumask 022½øÐÐÉèÖá£
×ܽ᣺
ÕÆÎÕ¶þ¸öÒªµã£¬Ò»¡¢Îļþ»ùÊýΪ666£¬Ä¿Â¼Îª777£¬¼´ÎļþÎÞÉèxλ£¬Ä¿Â¼¿ÉÉèxλ¡£¶þ¡¢chmodÊÇÉèÄĸö룬ÄÄôÄĸöλ¾ÍÓÐȨÏÞ£¬¶øumaskÊÇÉèÄĸö룬ÔòÄĸöλÉϾÍûȨÏÞ¡£
¶ÁдִÐÐȨÏÞ·Ö±ð¶ÔÓ¦ÊÇ
R -- 4
W -- 2
X -- 1
дÊÇ 2 £¬022 ±íʾgroup,other µÄдȨÏÞ£¬umask=022 ÑÚÂë±íʾȡÏûgroup , other Óû§µÄЩ


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

linuxÏß³Ì

ËùÓÐÏ̶߳¼ÓÐÒ»¸öÏ̺߳ţ¬Ò²¾ÍÊÇ
Thread ID
¡£ÆäÀàÐÍΪ
pthread_t
¡£Í¨¹ýµ÷ÓÃ
pthread_self()
º¯Êý¿ÉÒÔ»ñµÃ×ÔÉíµÄÏ̺߳š£
ÏÂÃæ˵һÏÂÈçºÎ´´½¨Ò»¸öÏ̡߳£
ͨ¹ý´´½¨Ị̈߳¬Ï߳̽«»áÖ´ÐÐÒ»¸öÏ̺߳¯Êý£¬¸ÃÏ̸߳ñʽ±ØÐë°´ÕÕÏÂÃæÀ´ÉùÃ÷£º
      
void * Thread_Function(void *)
´´½¨Ï ......

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
......

LinuxÏÂͨ¹ýiptablesץȡtcpÁ¬½Ó

1.1.1   iptablesÔ­Àí
 
1.1.2   ÒÔ±¾µØΪԴµÄ°ü·¾¶
Step
Table
Chain
Comment
1
 
 
±¾µØ³ÌÐò£¨±ÈÈ磬·þÎñ³ÌÐò»ò¿Í»§³ÌÐò£©
2
 
 
·ÓÉÅжϣ¬ÒªÊ¹ÓÃÔ´µØÖ·£¬Íâ³ö½Ó¿Ú£¬»¹ÓÐÆäËûһЩÐÅÏ¢¡£
3
mangle
OUTPUT
ÔÚÕâ¶ù¿ÉÒÔmangle°ü¡£½¨Òé²»ÒªÔÚÕâ¶ù×ö¹ýÂË£¬¿ ......

Linux ÐéÄ⻯ºÍ PCI ͸´«¼¼Êõ


 
 
¼¶
±ð£º Öм¶
M.
Tim Jones
, ×ÔÓÉ×÷¼Ò
2009 Äê 11 ÔÂ 19 ÈÕ
´¦ÀíÆ÷ÒѾ­Ñݱä
ΪÕë¶ÔÐéÄâ»·¾³Ìá¸ßÐÔÄÜ£¬µ« I/O ·½Ãæ·¢ÉúÁËʲô±ä»¯ÄØ£¿Á˽âÒ»ÖÖÃûΪÉ豸£¨»ò PCI£©Í¸´«£¨passthrough£©µÄ I/O
ÐÔÄÜÔöÇ¿¼¼Êõ£¬ÕâÖÖ´´Ð¼¼Êõͨ¹ýʹÓÃÀ´×Ô Intel® (VT-d) »ò AMD (IOMMU) µÄÓ²¼þÖ§³Ö¸Ä½ø PCI Éè ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ