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 Óû§µÄЩ
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ͨ¹ý±à¼/etc/inittabÀïµÄid:5:initdefault:ÕâÒ»Ðеİ¢À²®Êý×Ö£¬¿ÉʵÏÖÆô¶¯Ä£Ê½µÄת»»¡£ÀýÈ罫
id:5:initdefault:ÐÞ¸ÄΪid:3:initdefault:ÖØÐÂÆô¶¯ÏµÍ³ºó£¬ÎÒÃÇ¿É¿´µ½ÔÀ´µÄX-WindowͼÐβÙ×÷½çÃæת»»³ÉÁË
Console×Ö·û½çÃæ¡£
ÔÚ×Ö·û½çÃæÏ´òÈëÃüÁîstartx¿É½øÈëͼÐνçÃ棬ͼÐνçÃæϼüÈëctrl+alt+backspace½øÈë×Ö·û½çÃæ¡ ......
linux ¹²Ïí¿â»ù±¾Ê¹ÓÃ[ת]
xzq200 ·¢±íÓÚ 2007-6-16 11:02:00
0
ÍƼö
1 ´´½¨ºÍʹÓþ²Ì¬¿â
´´½¨Ò»¸ö¾²Ì¬¿âÊÇÏ൱¼òµ¥µÄ¡£Í¨³£Ê¹Óà ar ³ÌÐò°ÑһЩĿ±êÎļþ£¨.o£©×éºÏÔÚÒ»Æð£¬
³ÉΪһ¸öµ¥¶ÀµÄ¿â£¬È»ºóÔËÐÐ ranlib£¬ÒÔ¸ø¿â¼ÓÈëһЩË÷ÒýÐÅÏ¢¡£
2 ´´½¨ºÍʹÓù²Ïí¿â
ÌØÊâµÄ±àÒëºÍÁ¬½ÓÑ¡Ïî
-D_REENTRANT &nbs ......
ϵͳ
# uname -a # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n 1 /etc/issue # ²é¿´²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo # ²é¿´CPUÐÅÏ¢
# hostname # ²é¿´¼ÆËã»úÃû
# lspci -tv # ÁгöËùÓÐPCIÉ豸
# lsusb -tv # ÁгöËùÓÐUSBÉ豸
# lsmod # ......