Linux manÃüÁîµÄʹÓ÷½·¨
man¾ÍÊÇmanualµÄËõд£¬ÓÃÀ´²é¿´ÏµÍ³ÖÐ×Ô´øµÄ¸÷Öֲο¼Êֲᡣ
Ò»¡¢ËµÃ÷
1£¬ÊÖ²áÒ³·ÖΪºÃ¼¸¸ö²¿·Ö£¬ÈçÏÂËùʾ£º
1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (functions within program libraries)
4 Special files (usually found in /dev)
5 File formats and conventions eg /etc/passwd
6 Games
7 Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]
2£¬Æ京ÒåÈçÏ£º
man1 man2 man3 man4 man5 man6 man7 man8 man9,ÿÖÖÀàÐͶ¼Óв»Í¬µÄº¬Òå¡£
Man1£ºÆÕͨÓû§µÄ¿ÉÖ´ÐÐÃüÁîÊÖ²á
Man2£ºÏµÍ³µ÷ÓÃÊֲᣬÄں˺¯ÊýµÄ˵Ã÷
Man3£º×Ó³ÌÐòÊֲᣬ¿âº¯ÊýµÄ˵Ã÷
Man4£ºÏµÍ³É豸Êֲᣬ“/dev”Ŀ¼ÖÐÉ豸ÎļþµÄ²Î¿¼ËµÃ÷
Man5£ºÅäÖÃÎļþ¸ñʽÊֲᣬ´ó¶àΪ“/etc”Ŀ¼Ï¸÷ÖÖÅäÖÃÎļþµÄ¸ñʽÃèÊö
Man6£ºÓÎÏ·ºÍȤζС³ÌÐòµÄ˵Ã÷ÊÖ²á
Man7£ºÐÒéת»»ÊֲᣬҲ°üÀ¨Ò»Ð©ÔÓÏî
Man8£ºÏµÍ³¹ÜÀí¹¤¾ßÊֲᣬÕâЩÃüÁîÖ»¿É³¬¼¶Óû§²Å¿ÉÒÔÖ´ÐÐ
Man9£ºLINUXϵͳÀý³ÌÊÖ²á
Mann:TCL»òTKÃüÁî
¶þ¡¢Ê¹Ó÷½·¨
1£¬ÊÖ²áÒ³°´ÕÕ²»Í¬µÄÀàÐͱ»·ÅÔÚ²»Í¬µÄĿ¼ÏÂ
#ls –d /usr/share/man/man?
2£¬Ã¿¸öĿ¼Öж¼´æ·Å×ŶÔÓ¦ÀàÐ͵ÄÊÖ²áÎļþ£¬ÊÖ²áÎļþ´ó¶àΪ".gz"ѹËõÎļþ£¬ÃüÃû¹æÔòΪ"ÊÖ²áÃû³Æ.ÊÖ²áÀàÐÍ.gz"( hd.4.gz)
#ls /usr/share/man/man4
3£¬Ê¹ÓÃ"man N intro"ÃüÁî¿É²é¿´Ä³ÀàÐÍÊÖ²áÒ³µÄ˵Ã÷£¬"N"ΪÊÖ²áÒ³µÄÀàÐÍ
#man 4 intro
4£¬Èç¸÷ÀàÐÍÖÐÓÐͬÃûµÄÊÖ²áÒ³£¬Ê¹ÓÃmanÃüÁîʱӦÏÈÖ¸¶¨ÊÖ²áÀàÐÍÔÙÖ¸¶¨ÊÖ²áÃû³Æ¡£
#man 1 passwd
#man 5 passwd
#man man
5£¬ÓÃman²é¿´Ò»¸ö¾ßÌåµÄÊÖ²áʱ£¬¿ÉÒÔÓÃ/À´ÍùÇ°ËÑË÷£¬?ÍùºóËÑË÷£¬ggÌøÖÁÊÖ²á×²¿£¬GÌøÖÁÊÖ²áβ²¿£¬Ctrl-LË¢ÐÂÆÁÄ»£¬Õâ¸öºÍvimµÄĬÈÏ°´¼ü°ó¶¨Ò»Ö¡£
6£¬ÔÚshellÖÐÊäÈë man+Êý×Ö+ÃüÁî/º¯Êý ¼´¿ÉÒԲ鵽Ïà¹ØµÄÃüÁîºÍº¯Êý¡£Èô²»¼ÓÊý×Ö£¬ÄÇmanÃüÁîĬÈÏ´ÓÊý×Ö½ÏСµÄÊÖ²áÖÐÑ°ÕÒÏà¹ØÃüÁîºÍº¯Êý¡£
ÀýÈ磬±¾À´ÊÇÏëÑ°ÕÒc±ê×¼¿âÖеÄrand()º¯Êý£¬Ö±½ÓʹÓÃman randµÃµ½µÄÊÇÒ»¸örandÃüÁîµÄÊֲᣬֱ½ÓÓÃÀ´²úÉúÒ»¸öËæ»úÊý£¬Õâ¸öÄÚÈÝÔÚÊÖ²ásection 1ÖС£Èç¹ûʹÓÃman 3 rand¾Í¿ÉÒԵõ½×Ô¼ºÏëÒªµÄ¿âº¯ÊýÖÐrand()µÄÓ÷¨ÁË¡£
Èý¡¢Ê¹Óü¼ÇÉ
1£¬Ê¹ÓÃÊéÇ©
man ÆäʵÊǵ÷Óà less À´ÏÔʾÊÖ²
Ïà¹ØÎĵµ£º
ÒªÔÚǶÈëʽLinuxÏÂʹÓö¯Ì¬ÓïÑÔ£¬Ê×ÏÈÒª½â¾öµÄÊÇÓïÑÔ½âÊÍÆ÷»òÖ´ÐÐÒýÇæµÄ½»²æ±àÒëÎÊÌâ¡£
½»²æ±àÒëͨ³£ÓÐÒÔϼ¸ÖÖ;¾¶£º
1. Ö±½Óͨ¹ý½»²æ±àÒ빤¾ß£¬ÊÖ¹¤ÅäÖý»²æ±àÒë¡£½»²æ±àÒ빤¾ß¿ÉÒÔÀûÓÃÕâ¸ö½Å±¾À´×Ô¶¯Éú³É£º
http://kegel.com/crosstool/
´Ë·½·¨µÄºÃ´¦ÊǼò±ã¿ì½Ý£¬Ò»µ©crosstool×öºÃÒÔºó£¬ÐèҪʲô°üÖ±½Ó±àÒë¼´¿É£¬ ......
ÔÚ°²×°ÍêjdkÒԺ󣬾ÍÀ´°²×°MyEclipseÁË¡£
ÓÐһЩ°²×°ÁËjdkÒÔºóûÓÐÉúЧ£¬³öÏֵĻ¹ÊÇ1.4°æ±¾µÄ¡£
ËùÒÔ°²×°MyEclipse7.0»òÕßÊÇ6.5¡¢6.6µÄ¶¼»á³ö´í
[root@gupt aaaa]# ll
×ÜÓÃÁ¿ 380
dr-xr-xr-x 6 root root 4096
2009-01-17 configuration
-r--r--r-- 1 root root 7 ......
Ò»¡¢ÏÂÔØjpeg¿â
¶þ¡¢ÅäÖñàÒ룬Éú³ÉMakefileÎļþ¡£
#./configure --prefix=/usr/arm/arm-linux --exec-prefix=/usr/arm/arm-linux \
--enable-shared --enable-static
×¢Ò⣺prefixÊÇ×îºó°²×°Ê±¿â´æ·ÅµÄÎļþ£¬sharedÊDZàÒë³É¶¯Ì¬¿â£¬staticÊDZàÒë³É¾²Ì¬¿â
Èý¡¢ÐÞ¸ÄÉú³ÉµÄMakefile¡£
ʹÓÃgedit £Í£á£ë£å£æ£é£ì£å
½«CC ......
linux ÉϵÄoracle sqlplus ²»ÄÜÀûÓà ÉÏ, Ï ¼üÀ´²é¿´ÃüÁËÑË÷µ½½â¾öÎÊÌâµÄ°ì·¨£¬ÕûÀíÈçÏÂ
°²×°Èí¼þrlwrap¿ÉÒÔ½â¾öÕâ¸öÎÊÌ⣬¸ÃÈí¼þÊÇÓÃcдµÄ³ÌÐò
¹Ù·½ÏÂÔصØÖ·£ºhttp://utopia.knoware.nl/~hlub/uck/rlwrap/
°²×°¹ý³Ì£º
ÎÒÃÇÒ²¿ÉÒԲ鿴½âѹºóµÄtar°ü£¬²é¿´README°ïÖúÎļþ
shell>tar -zxvf rlwrap-0.36.tar.gz
sh ......