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

LinuxϵÄCÓïÑÔ¿ª·¢³õѧÕßÖ¸ÄÏ

Ò»¡¢¹¤¾ßµÄʹÓÃ
1¡¢Ñ§»áʹÓÃvim/emacs£¬vim/emacsÊÇlinuxÏÂ×î³£ÓõÄÔ´Âë±à¼­¾ß£¬²»¹âҪѧ»áÓÃËüÃDZ༭ԴÂ룬»¹ÒªÑ§»áÓÃËüÃǽøÐвéÕÒ¡¢¶¨Î»¡¢Ìæ»»µÈ¡£ÐÂÊֵĻ°ÍƼöʹÓÃvim£¬ÕâÒ²ÊÇÎÒĿǰʹÓõÄÎı¾±à¼­Æ÷¡£vimÓÐÒ»¸öÖÐÎÄÔÚÏßÊÖ²áhttp://vcd.gro.clinux.org¡£
2¡¢Ñ§»ámakefileÎļþµÄ±àд¹æÔò£¬²¢½áºÏʹÓù¤¾ßaclocal¡¢autoconfºÍautomakeÉú³ÉmakefileÎļþ¡£
3¡¢ÕÆÎÕgccºÍgdbµÄ»ù±¾Ó÷¨¡£ÕÆÎÕgccµÄÓ÷¨¶ÔÓÚ¹¹½¨Ò»¸öÈí¼þ°üºÜÓÐÒæ´¦£¬µ±Èí¼þ°ü°üº¬µÄÎļþ±È½Ï¶àµÄʱºò£¬Ä㻹ÄÜÓÃgcc°ÑËüÊÖ¶¯±àÒë³öÀ´£¬Äã¾Í»á¶ÔÈí¼þ°üÖи÷¸öÎļþ¼äµÄÒÀÀµ¹ØϵÓÐÒ»¸öÇåÎúµÄÁ˽⡣
4¡¢ÕÆÎÕsvn/cvsµÄ»ù±¾Ó÷¨¡£ÕâÊÇlinux£¬Ò²ÊÇ¿ªÔ´ÉçÇø×î³£Óõİ汾¹ÜÀíϵͳ¡£¿ÉÒÔÈ¥ÊÔ×ŲμÓsourceforgeÉϵÄһЩ¿ªÔ´ÏîÄ¿¡£svnÓÐÒ»¸öÖÐÎÄÍøÕ¾£ºhttp://www.subversion.org.cn¶Ôsvn½øÐнéÉÜ¡£
¶þ¡¢linux/unixϵͳµ÷ÓÃÓë±ê×¼C¿â
ϵͳµ÷ÓÃÓ¦ÓÃÈí¼þÓë²Ù×÷ϵͳµÄ½Ó¿Ú£¬ÆäÖØÒªÐÔ×ÔÈ»²»ÓÃ˵£¬Ò»¶¨ÒªÕÆÎÕ¡£ÍƼöѧϰ×ÊÁÏΪstevenÏÈÉúµÄUNIX»·¾³¸ß¼¶±à³Ì£¨¼ò³ÆAPUE£©¡£
Èý¡¢¿âµÄѧϰ
ÎÞÂÛÊÇÔÚÄĸöƽ̨×öÈí¼þ¿ª·¢£¬¶ÔÓÚ¿âµÄѧϰ¶¼ºÜÖØÒª£¬linuxϵĿª·¢¿âºÜ¶à£¬ÎÒÖ÷Òª½éÉÜÒ»ÏÂÎÒ³£³£Óõ½µÄһЩ¿â¡£
1¡¢glib¿â
glib¿âÊÇgtk+ºÍgnomeµÄ»ù´¡¿â£¬²¢¾ßÊÇ¿çƽ̨µÄ£¬ÔÚlinux¡¢unixºÍwindows϶¼¿ÉÒÔÓá£glib¿â¶ÔÓÚlinuxƽ̨¿ª·¢µÄÓ°Ïì¾ÍÏñMFC¶Ôwindowsƽ̨¿ª·¢µÄÓ°ÏìÒ»Ñù£¬ºÜ¶à¿ªÔ´ÏîÄ¿¶¼´óÁ¿µÄʹÓÃÁËglib¿â£¬°üÀ¨gimp¡¢gnome¡¢gaim¡¢evolutionºÍlinuxϵļ¯ÈºÈí¼þheartbeat¡£ÒòΪglib¿â×Ô´øÓлù±¾µÄÊý¾Ý½á¹¹ÊµÏÖ£¬ËùÒÔÔÚѧϰglib¿âµÄʱºò¿ÉÒÔ˳±ãѧϰһÏ»ù±¾µÄÊý¾Ý½á¹¹£¨°üÀ¨Á´±í¡¢Ê÷¡¢¶ÓÁкÍhash±í£©¡£glib¿âÒ²ÓÐÒ»¸öÔÚÏßÊֲᣬÍøÖ·ÊÇhttp://developer.gnome.org/doc/API/glib/index.html¡£
2¡¢libxml¿â
libxmlÊÇlinuxƽ̨ϽâÎöXMLÎļþµÄÒ»¸ö»ù´¡¿â£¬ÏÖÔںܶàʵÓÃÈí¼þ¶¼ÓÃXML¸ñʽµÄÅäÖÃÎļþ£¬ËùÒÔÒ²ÓбØҪѧϰһÏ¡£libxmlµÄÍøÕ¾ÊÇhttp://xmlsoft.org/index.html¡£
3¡¢readline¿â
readline¿âÊÇbash shellÓõĿ⣬Èç¹ûÒª¿ª·¢ÃüÁîÐгÌÐò£¬ÄÇôʹÓÃreadline¿â¿ÉÒÔ¼õÉٺܶ๤×÷Á¿£¬±ÈÈçbashÀïµÄÃüÁîÐÐ×Ô¶¯²¹È«£¬ÔÚreadlineÀï¾ÍÒѾ­ÓÐʵÏÖ£¬µ±È»ÄãÒ²¿ÉÒÔÓÃ×Ô¼ºµÄʵÏÖÌæ´ú¿âµÄÐÐΪ¡£readline¿âÓкܶàÍøÕ¾½éÉܵģ¬Ö»ÒªgoogleÒ»ÏÂreadline¾Í¿ÉÒÔÕÒµ½Ò»¶ÑÁË¡£
4¡¢curses¿â
curses¿âÒÔÇ°ÊÇvi³ÌÐòµÄÒ»²¿·Ö£¬ºóÀ´´ÓviÀïÌáÈ¡³öÀ´³ÉΪһ¸ö¶ÀÁ¢µÄ¿â¡£curses¿â¶ÔÓÚ±àдÖÕ¶ËÏà¹ØµÄ³ÌÐòÌرðÓÐÓ㬱ÈÈçÒªÔÚÖÕ¶ËijһÐÐij


Ïà¹ØÎĵµ£º

linuxÄں˻ù±¾Êý¾ÝÀàÐÍ×ܽá


linuxÄں˻ù±¾Êý¾ÝÀàÐÍ×ܽá
¶ÔlinuxÄں˵ÄÊý¾ÝÀàÐÍ×öÒ»ÏÂ×ܽᡣ
ÏÂÃ沿·ÖÄÚÈݲο¼ÁË£ºhttp://book.csdn.net/bookfiles/12/100126.shtml
µ±
Linux
ÄÚºËÔÚÌåϵ½á¹¹²îÒì½Ï´óµÄƽ̨֮¼äÒÆֲʱ£¬»á²úÉúÓëÊý¾ÝÀàÐÍÏà¹ØµÄÎÊÌâ¡£ÔÚ±àÒëÄÚºËʱʹÓÃ
-Wall -Wstrict-prototypes
Ñ¡Ï¿ÉÒÔ±ÜÃâºÜ¶à´íÎóµÄ·¢Éú¡£
ÄÚºËʹÓõĻ ......

Linux»ùÓÚʼþÇý¶¯µÄ³ÌÐò¿ò¼Ü(תÔØ)

[ת]Linux 2.6 ÄÚºËEpollÓ÷¨¾ÙÀý˵Ã÷
epollÓõ½µÄËùÓк¯Êý¶¼ÊÇÔÚÍ·Îļþsys/epoll.hÖÐÉùÃ÷µÄ£¬ÏÂÃæ¼òҪ˵Ã÷ËùÓõ½µÄÊý¾Ý½á¹¹ºÍº¯Êý£º
ËùÓõ½µÄÊý¾Ý½á¹¹:
 
typedef union epoll_data {
void *ptr;
int fd;
__uint32_t u32;
__uint64_t u64; ......

LinuxÈëÃűʼǶþ

 1.¹Ø»ú
init 0»òÕß halt poweroff
ÖØÐÂÆô¶¯
init 6»òÕß reboot
¹Ø»úµÄʱºò֪ͨÏÂÆäËûÓû§ Shutdown
shutdown -r +5 (Îå·ÖÖÓÖ®ºó¹Ø»ú)
2.ÔÚLinuxÏ¿ÉÒÔʹÓó¤Îļþ»òĿ¼Ãû£¬ÐèÒª×ñÑ­µÄ¹æÔò
  / ½ûֹʹÓÃ
  ºó׺ÊÇûÓÐʵ¼ÊÒâÒåµÄ
3.touch a  ½¨Á¢Ò»¸öÎļþ
4.shellÃüÁîµÄÒ»°ã¸ñʽ
  $cmd ......

linux command


< id="MediaPlayerObject" style="visibility: hidden;" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" width="0" height="0" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">
 1. ´´½¨Ä¿Â¼
     mkdir
    ......

Linux»·¾³½ø³Ì¼äͨÐÅ£¨Îå


ÎĵµÑ¡Ïî
´òÓ¡±¾Ò³
½«´ËÒ³×÷Ϊµç×ÓÓʼþ·¢ËÍ
¼¶±ð£º ³õ¼¶
Ö£ÑåÐË (mlinux@163.com), ¹ú·À¿Æ´ó¹¥¶Á²©Ê¿Ñ§Î»
2003 Äê 5 ÔÂ 01 ÈÕ
¹²ÏíÄÚ´æ¿ÉÒÔ˵ÊÇ×îÓÐÓõĽø³Ì¼äͨÐÅ·½Ê½£¬Ò²ÊÇ×î¿ìµÄIPCÐÎʽ¡£Á½¸ö²»Í¬½ø³ÌA¡¢B¹²ÏíÄÚ´æµÄÒâ˼ÊÇ£¬Í¬Ò»¿éÎïÀíÄÚ´æ±»Ó³Éäµ½½ø³ÌA¡¢B¸÷×ԵĽø³ÌµØÖ·¿Õ¼ä¡£½ø³ÌA¿ÉÒÔ¼´Ê±¿´µ½½ø³ÌB¶Ô¹² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ