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

linux comm ÃüÁî½éÉÜ

 Èç¹ûÏëÔÚLinuxÃüÁîÐз½Ê½Ï£¬¶Ô2¸öÎı¾ÎļþµÄÄÚÈÝ×ö±È½Ï£¬ÕÒ³öͬʱ°üº¬ÔÚÕâ2¸öÎı¾ÎļþÖеÄÄÚÈÝ£¬¿ÉÒÔʹÓÃLinuxϵͳ´øµÄ¹¤¾ßcommÀ´´¦Àí£¬Ç°ÌáÊDZ»±È½ÏµÄ2¸öÎı¾ÎļþÒªÊÇÓÐÐòµÄ£¬¿ÉÒÔÏÈÓÃsort´¦Àíһϣ¬¾ßÌå²Ù×÷·½·¨ÈçÏ£º
ԭʼÎļþÈçÏ£º
a.txt
d
c
b
a
b.txt
g
f
b
a
ÅÅÐò´¦Àí
sort a.txt > a1.txt
sort b.txt > b1.txt
´¦Àí½á¹ûÎļþÈçÏ£º
a1.txt
a
b
c
d
b1.txt
a
b
f
g
±È½Ï´¦Àí
comm  a1.txt b1.txt
          a
          b
    f
    g
c
d
Êä³ö½á¹û°üÀ¨3ÁÐ ÆäÖеÚ3ÁÐÏÔʾµÄÊÇ2¸öÎļþÖж¼°üº¬µÄÄÚÈÝ¡£
µÚ1ÁÐÏÔʾֻ°üº¬ÔÚµÚÒ»¸öÎļþa.txtÖеÄ
µÚ2ÁÐÏÔʾֻ°üº¬ÔÚµÚ¶þ¸öÎļþb.txtÖеÄ
¿ÉÒÔͨ¹ý²ÎÊýÖ¸¶¨ÒªÏÔʾµÄÁÐ È磺
comm a1.txt b1.txt -12
a
b
-12  ±íʾ²»ÏÔʾµÚ1Áк͵Ú2ÁУ¬Ö»ÏÔʾµÚ3ÁÐ
-1 ²»ÏÔʾµÚ1ÁУ¬ÏÔʾµÚ2£¬3 ÁÐ
-13 ²»ÏÔʾµÚ1£¬3ÁУ¬ÏÔʾµÚ2ÁÐ


Ïà¹ØÎĵµ£º

ʵս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µÄ¿ª·¢¹¤¾ß

 ´ó¼Òϰ¹ßÁËÔÚWindowsÏ¿ª·¢³ÌÐò£¬ÔÚWindowsÏÂÓкܶàºÜºÃÓõŤ¾ß£¬
ÈçSourceInsight¡¢Beyond Compare¡¢Visual StudioµÈ¡£
ÆäʵÔÚLinux¿ªÊ¼³ÌÐòÒ²ÓкܶàÇ¿´óµÄ¹¤¾ß£¬¶øÇÒ»¹ÊÇ¿ªÔ´Ãâ·ÑµÄ£¬ÍƼöÈçÏ£º
´úÂë±à¼­£º
vi/vim£¨×î¾­µäµÄ£©¡¢gedit¡¢EmacsµÈ
´úÂëä¯ÀÀ£º
Kscope¡¢Source Navigator¡¢vim+cscopeµÈ
´úÂë±È½ ......

LINUXÏ httpd.conf my.cnf php.iniµÄλÖÃ

 
ĬÈÏ£º
httpd.conf ÔÚ/etc/httpd/conf
my.cnf ÔÚ/etc
php.ini ÔÚ/usr/local/lib
ÔÚUnix ÉÏ£¬php.iniÎļþȱʡ·ÅÔÚ/usr/local/libÉÏÃæ£¬ÒòΪȱʡµÄ´æ·Å·¾¶ÊÇ<install-path>
/lib£¬µ«ÊÇ¿ÉÒÔÔÚ±àÒëµÄʱºòʹÓÃ--with-config-file-path²ÎÊýÀ´ÐÞ¸Äphp.iniµÄ´æ·ÅλÖã¬ÀýÈçÄã¿ÉÒÔʹÓÃ--with-
config-file-path ......

Æß¿îǶÈëʽLinux²Ù×÷ϵͳ¼ò½é

³ýÁËÖÇÄÜÊý×ÖÖÕ¶ËÁìÓòÒÔÍ⣬LinuxÔÚÒÆ¶¯¼ÆËãÆ½Ì¨¡¢ÖÇÄܹ¤Òµ¿ØÖÆ¡¢½ðÈÚÒµÖÕ¶Ëϵͳ£¬ÉõÖÁ¾üÊÂÁìÓò¶¼ÓÐ׏㷺µÄÓ¦ÓÃǰ¾°¡£ÕâЩLinux±»Í³³ÆÎª“ǶÈëʽLinux”¡£ÏÂÃæ¾ÍÀ´¿´¿´¶¼ÓÐÄÄЩǶÈëʽLinuxÔÚÒÔÉÏÁìÓò×ݺá³Û³Ò°É!
¡¡¡¡RT-Linux
¡¡¡¡ÕâÊÇÓÉÃÀ¹úÄ«Î÷¸çÀí¹¤Ñ§Ôº¿ª·¢µÄǶÈëʽLinux²Ù×÷ϵͳ¡£µ½Ä¿Ç°ÎªÖ¹£¬RT-LinuxÒÑ ......

LINUX³£ÓÃÃüÁ»ù´¡£©

 



LINUX³£ÓÃÃüÁ»ù´¡£©
1. man ¶ÔÄãÊìϤ»ò²»ÊìϤµÄÃüÁîÌṩ°ïÖú½âÊÍ
eg:man ls ¾Í¿ÉÒԲ鿴lsÏà¹ØµÄÓ÷¨
×¢£º°´q¼ü»òÕßctrl+cÍ˳ö£¬ÔÚlinuxÏ¿ÉÒÔʹÓÃctrl+cÖÕÖ¹µ±Ç°³ÌÐòÔËÐС£
2. ls ²é¿´Ä¿Â¼»òÕßÎļþµÄÊô*£¬ÁоٳöÈÎһĿ¼ÏÂÃæµÄÎļþ
eg: ls /usr/man
ls -l
a.d±íʾĿ¼(directory)£¬È ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ