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

¹ØÓÚLinux²Ù×÷ϵͳϱðÃûµÄÉèÖÃ


linuxϵͳ¿ÉÒÔ°ÑһЩ³£ÓõÄÃüÁî×öÒ»¸ö¼ò¶ÌµÄ±ðÃû
 
alias tomcat£½"cd /usr/local/tomcat",µ«ÊÇÍ˳öϵͳºóÕâЩ±ðÃû¾ÍʧЧÁË£¬ÈçºÎ°Ñ±ðÃûдÈëÅäÖÃÎļþ£º
 
Ê×ÏÈÕÒµ½µÇ½µÄÓû§µÄÎļþ¼Ð£¬±ÈÈçROOTµÇ½µÄʱºò£¬ÔÚ/Ŀ¼Ï½øÈëROOTĿ¼±à¼­.bash_profileÎļþ
 
±ÈÈç¿ÉÒÔÕâÑù±à¼­£¨alias ÕâÁ½ÐÐÊǼÓÉÏÈ¥µÄ£©£¬µ±È»£¬ÏµÍ³µÄ»·¾³±äÁ¿Ò²ÊÇ¿ÉÒÔдÔÚÕâÀïµÄ
 
# .bash_profile
 
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
alias tomcat="cd /usr/local/tomcat"
alias myip="/sbin/ifconfig | grep -a 'inet addr' | sed -e '/127\\.0\\.0\\.1/d;s/.*inet addr:\\([0-9\\.]\\+\\).*/\\1/'"
# User specific environment and startup programs
 
PATH=$PATH:$HOME/bin
 
export PATH
unset USERNAME
 
Ôڱ༭.bash_profileÎļþºóÁ¢¼´ÉúЧµÄÃüÁî
source .bash_profile


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

LinuxÄÚºËÍøÂçÕ»´úÂëµÄ×¼±¸ÖªÊ¶ÏêÊö


1. LinuxÄÚºËipv4ÍøÂ粿·Ö·Ö²ã½á¹¹£º
BSD socket²ã£º ÕâÒ»²¿·Ö´¦ÀíBSD socketÏà¹Ø²Ù×÷£¬Ã¿¸ösocketÔÚÄÚºËÖÐÒÔstruct socket½á¹¹ÌåÏÖ¡£ÕâÒ»²¿·ÖµÄÎļþ
Ö÷ÒªÓУº/net/socket.c /net/protocols.c etc
INET socket²ã£ºBSD socketÊǸö¿ÉÒÔÓÃÓÚ¸÷ÖÖÍøÂçЭÒéµÄ½Ó¿Ú£¬¶øµ±ÓÃÓÚtcp/ip£¬¼´½¨Á¢ÁËAF_INETÐÎʽµÄsocketʱ ......

LinuxÄں˽â¶ÁÈëÃÅ(ת)

Õë¶ÔºÃ¶àLinux °®ºÃÕ߶ÔÄں˺ÜÓÐÐËȤȴÎÞ´ÓÏ¿ڣ¬±¾ÎÄÖ¼ÔÚ½éÉÜÒ»ÖÖ½â¶ÁlinuxÄÚºËÔ´ÂëµÄÈëÃÅ·½·¨£¬¶ø²»Êǽâ˵linux¸´ÔÓµÄÄں˻úÖÆ£» £¨²Î¿¼×ÊÁÏÀ´Ô´£º·ÉÁè http://www.witech.com.cn/£©
Ò»£®ºËÐÄÔ´³ÌÐòµÄÎļþ×éÖ¯£º
1£®LinuxºËÐÄÔ´³ÌÐòͨ³£¶¼°²×°ÔÚ/usr/src/linuxÏ£¬¶øÇÒËüÓÐÒ»¸ö·Ç³£¼òµ¥µÄ±àºÅÔ¼¶¨£ºÈκÎżÊýµÄºËÐÄ£¨À ......

LINUXÏÂOracle¿â±¸·Ý½Å±¾

vi /opt/back.sh(oracleÓû§)
#!/bin/ksh
tim=`date +%Y%m%d`
unset USERNAME
#export DISPLAY=0.0.0.0:0.0
#export ORACLE_BASE=/home/oraprod3
#export ORACLE_HOME=/prod/oracle/prod3db/9.2.0
#export ORACLE_SID=PROD3_db
#export LD_LIBRARY_PATH=/prod/oracle/prod3db/9.2.0/lib
#export ORACLE_TERM=vt100 ......

LINUX, ¾­Ñé×ܽá, ²ËÄñ, ÈýÈËÐÐ, ѧϰ


LINUX, ¾­Ñé×ܽá, ²ËÄñ, ÈýÈËÐÐ, ѧϰ
Ò»¡¢LINUX½éÉÜ
Linux£ºLinuxÊÇÓÉ·ÒÀ¼´óѧµÄLinus TorvaldÀî納˹·¢Æð´´½¨µÄ¿ªÔ´Èí¼þÏîÄ¿¡£
°æ±¾ºÅxx.yy.zz £º¢Ù.xx±íΪÖ÷°æ±¾ºÅ£¬yyΪ´Î°æ±¾ºÅ£¬zzΪÐÞ¶©µÄ°æ±¾ºÅ¡£¢Ú.´Î°æ±¾ºÅÖУ¬µ¥Êý´ú±í²âÊ԰棬˫Êý´ú±íÕýʽ·¢Ðаæ
¿ªÔ´Èí¼þ£º¢ÙÔ´´úÂ뿪·Å¡£
¢ÚGPLЭÒ飺Ö÷ÒªÊÇÒÔÔ´´ú ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ