ZZ LinuxÉèÖû·¾³±äÁ¿Ð¡½á
1
¡¢×ܽᱳ¾°
ÔÚ
linux
ϵͳÏ£¬Èç¹ûÄãÏÂÔز¢°²×°ÁËÓ¦ÓóÌÐò£¬ºÜÓпÉÄÜÔÚ¼üÈëËüµÄÃû³Æʱ³öÏÖ
“command not found”
µÄÌáʾÄÚÈÝ¡£Èç¹ûÿ´Î¶¼µ½°²×°Ä¿±êÎļþ¼ÐÄÚ£¬ÕÒµ½¿ÉÖ´ÐÐÎļþÀ´½øÐвÙ×÷¾ÍÌ«·±ËöÁË¡£ÕâÉæ¼°µ½»·¾³±äÁ¿
PATH
µÄÉèÖÃÎÊÌ⣬¶ø
PATH
µÄÉèÖÃÒ²ÊÇÔÚ
linux
϶¨ÖÆ»·¾³±äÁ¿µÄÒ»¸ö×é³É²¿·Ö¡£±¾°¸Àý»ùÓÚ
RedHat AS4
½²½â»·¾³±äÁ¿¶¨ÖƵÄÎÊÌâ¡£
2
¡¢±äÁ¿¼ò½é
Linux
ÊÇÒ»¸ö¶àÓû§µÄ²Ù×÷ϵͳ
¡£Ã¿¸öÓû§µÇ¼ϵͳºó£¬¶¼»áÓÐÒ»¸öרÓõÄÔËÐл·¾³¡£Í¨³£Ã¿¸öÓû§Ä¬ÈϵĻ·¾³¶¼ÊÇÏàͬµÄ£¬Õâ¸öĬÈÏ»·¾³Êµ¼ÊÉϾÍÊÇÒ»×é»·¾³±äÁ¿µÄ¶¨Òå¡£Óû§¿ÉÒÔ¶Ô×Ô¼ºµÄÔËÐл·¾³½øÐж¨ÖÆ£¬Æä·½·¨¾ÍÊÇÐÞ¸ÄÏàÓ¦µÄϵͳ»·¾³±äÁ¿¡£
3
¡¢¶¨ÖÆ»·¾³±äÁ¿
»·¾³±äÁ¿ÊǺÍ
Shell
½ôÃÜÏà¹ØµÄ£¬Óû§µÇ¼ϵͳºó¾ÍÆô¶¯ÁËÒ»¸ö
Shell
¡£¶ÔÓÚ
Linux
À´ËµÒ»°ãÊÇ
bash
£¬µ«Ò²¿ÉÒÔÖØÐÂÉ趨»òÇл»µ½ÆäËü
µÄ
Shell
£¨Ê¹ÓÃ
chsh
ÃüÁ¡£
¸ù¾Ý·¢Ðа汾µÄÇé¿ö£¬
bash
ÓÐÁ½¸ö»ù±¾µÄϵͳ¼¶ÅäÖÃÎļþ£º
/etc/bashrc
ºÍ
/etc/profile
¡£ÕâЩÅäÖÃÎļþ°üº¬Á½×鲻ͬµÄ±äÁ¿£º
shell
±äÁ¿ºÍ»·¾³±äÁ¿¡£Ç°ÕßÖ»ÊÇÔÚÌض¨µÄ
shell
Öй̶¨£¨Èç
bash
£©£¬ºóÕßÔÚ²»Í¬
shell
Öй̶¨¡£ºÜÃ÷ÏÔ£¬
shell
±äÁ¿ÊǾֲ¿µÄ£¬¶ø»·¾³±äÁ¿ÊÇÈ«¾ÖµÄ¡£»·¾³±äÁ¿ÊÇͨ¹ý
Shell
ÃüÁîÀ´ÉèÖõģ¬ÉèÖúõĻ·¾³±äÁ¿ÓÖ¿ÉÒÔ±»ËùÓе±Ç°Óû§ËùÔËÐеijÌÐòËùʹÓ᣶ÔÓÚ
bash
Õâ¸ö
Shell
³ÌÐòÀ´Ëµ£¬¿ÉÒÔͨ¹ý±äÁ¿ÃûÀ´·ÃÎÊÏàÓ¦µÄ»·¾³±äÁ¿£¬Í¨¹ý
export
À´ÉèÖû·¾³±äÁ¿¡£
×¢£º
Linux
µÄ»·¾³±äÁ¿Ãû³ÆÒ»°ãʹÓôóд×Öĸ
4
¡¢»·¾³±äÁ¿ÉèÖÃ
ʵÀý
1.
ʹÓÃÃüÁî
echo
ÏÔʾ»·¾³±äÁ¿
±¾ÀýʹÓÃ
echo
ÏÔʾ³£¼ûµÄ±äÁ¿
HOME
$ echo $HOME
/home/kevin
2.
ÉèÖÃÒ»¸öеĻ·¾³±äÁ¿
$ export MYNAME=”my name is kevin”
$ echo $ MYNAME
my name is Kevin
3.
ÐÞ¸ÄÒÑ´æÔڵĻ·¾³±äÁ¿
½ÓÉϸöʾÀý
$ MYNAME=”change name to jack”
$ echo $MYNAME
change name to jack
4.
ʹÓÃ
env
ÃüÁîÏÔʾËùÓеĻ·¾³±äÁ¿
$ env
HOSTNAME=localhost.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
SSH_CLIENT=192.168.136.151 1740 22
QTDIR=/usr/lib/qt-3.1
SSH_TTY=/dev/pts/0
……
5.
ʹÓÃ
set
ÃüÁîÏÔʾËùÓб¾µØ¶¨ÒåµÄ
Shell
±äÁ¿
$ set
BASH=/bin/bash
BASH_ENV=/root/.bashrc
……
6.
ʹÓÃ
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍ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 ......
ÎÒµÄORACLE RAC INSTALL for LINUX 10.2Ñо¿
ÎÒµÄORACLE RAC INSTALL for LINUX 10.2Ñо¿
1¡¢´´½¨ÐéÄâ»ú
DB1ÐéÄâ»úÎļþĿ¼ g:\vmtest1 Îļþ´óС8G ÄÚ´æ944M£¨ÔÁÂÎÒÖ»ÓÐ2GRAM)
DB2ÐéÄâ»úÎļþĿ¼ E:\vmtest2 Îļþ´óС8G ÄÚ´æ944M
ÔÚDB1ÉÏ´´½¨¹²Ïí´ÅÅÌ£¬
E:\SHARE Îļþ´óС8G
DB2Ò²´´½¨´ÅÅÌ£¬ ......
LinuxϵÄÖÐÎÄLatex
Latex(latex-project.org/)ÊÇTexµÄÀ©Õ¹£¬ÊÇÒ»Öֹ㷺µÄÓÃÓÚ¿ÆѧÓ빤³ÌÁìÓòµÄÎÄ×ÖÅŰ湤¾ß¡£ÌرðÔÚÅ·Ö޵Ĵóѧ£¬¿ÆÑе¥Î»£¬¼¸ºõËùÓеÄÂÛÎÄ£¬±¨¸æ¶¼ÊÇÔÚTex/LatexϵÁй¤¾ßÍê³ÉµÄ¡£
Ä¿Ç°£¬Tex/LatexÕýÖð²½±»¹úÄڵĿÆÑÐÈËÔ±½ÓÊÜ¡£ÓÈÆäÊÇÔÚwindowsƽ̨Ï£¬ÒѾ³ÉÐεÄCTEXÎÞÒÉÊǶÔTex/LatexÍƹãµÄ¼«´ó´Ù½ø ......
linux½ø³Ì¿ØÖÆ£execϵÁР˵ÊÇexecϵͳµ÷Óã¬Êµ¼ÊÉÏÔÚLinuxÖУ¬²¢²»´æÔÚÒ»¸öexec()µÄº¯ÊýÐÎʽ£¬execÖ¸µÄÊÇÒ»×麯Êý£¬Ò»¹²ÓÐ6¸ö£¬·Ö±ðÊÇ£º #include <unistd.h>
int execl(const char *path, const char *arg, ...);
int execlp(const char *file, const char *arg, ...);
int execle(const char *path, const char ......
¸úÏþÁúѧLinuxϵÁн²×ùÊÇÕë¶ÔLinux³õÖм¶Ê¹ÓÃÕߵĽÌѧÊÓƵºÍѧϰÎÄÕ¡£±¾½ÌѧÊÓƵ·ÖÁ½¼¾£¬µÚÒ»¼¾Õë¶Ô³õѧÕߣ¬ÆäÖÐÉæ¼°ÈÕ³£Ó¦Óã¬Ö¼ÔÚÒýÆð³õѧÕßÐËȤ¡£µÚ¶þ¼¾Õë¶ÔÖи߼¶LinuxʹÓÃÕߣ¬Ö¼ÔÚ½â¾ö´ó¼ÒÔÚ¹¤×÷µ±ÖеÄÎÊÌâ¡£±¾ÊÓƵ²»½ö°üº¬ÏµÍ³µÄѧϰÄÚÈÝ£¬Ò²°üÀ¨°²×°¡¢Ñ§Ï°·½·¨µÈ±àÍâƪ£¬½«º¸ÇLPIºÍ RHCEÈÏÖ¤µÄ´ó²¿·Ö֪ʶµã£¬¸ÐÐËÈ ......