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

Linux dong dong(for ×Ôѧ)

1.  10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁî(ת) (http://linuxtoy.org/archives/top-10-one-liners.html )
ÏÂÃæÊÇÀ´×Ô Commandlinefu ÍøÕ¾ÓÉÓû§Í¶Æ±¾ö³öµÄ 10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁϣÍû¶ÔÄãÓÐÓá£
sudo !!
ÒÔ root ÕÊ»§Ö´ÐÐÉÏÒ»ÌõÃüÁî¡£
python -m SimpleHTTPServer
ÀûÓà Python ´î½¨Ò»¸ö¼òµ¥µÄ Web ·þÎñÆ÷£¬¿Éͨ¹ý http://$HOSTNAME:8000 ·ÃÎÊ¡£
:w !sudo tee %
ÔÚ Vim ÖÐÎÞÐèȨÏÞ±£´æ±à¼­µÄÎļþ¡£
cd -
¸ü¸Äµ½ÉÏÒ»´Î·ÃÎʵÄĿ¼¡£
^foo^bar
½«ÉÏÒ»ÌõÃüÁîÖÐµÄ foo Ì滻Ϊ bar£¬²¢Ö´ÐС£
cp filename{,.bak}
¿ìËÙ±¸·Ý»ò¸´ÖÆÎļþ¡£
mtr google.com
traceroute + ping¡£
!whatever:p
ËÑË÷ÃüÁîÀúÊ·£¬µ«²»Ö´ÐС£
$ssh-copy-id user@host
½« ssh keys ¸´ÖƵ½ user@host ÒÔÆôÓÃÎÞÃÜÂë SSH µÇ¼¡£
ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg
°Ñ Linux ×ÀÃæ¼ÖÆΪÊÓƵ¡£
2. Ìæ´úWindowsÏÂÈí¼þµÄLinuxÈí¼þÁбí 
    http://www.linuxrsp.ru/win-lin-soft/table-eng.html
3. ÃüÁîѧϰ£º£¨¸Õ½Ó´¥µ½µÄ£©
 df :
curl:
find: ¶ÔÖ¸¶¨Ä¿Â¼½øÐÐÉî¶ÈËÑË÷£¬ÔÚ±¾ÀýÖУ¬ÊǶԴӠ. »ò µã£¨´ú±íµ±Ç°¹¤×÷Ŀ¼£©¿ªÊ¼µÄÎļþϵͳ½øÐÐËÑË÷²¢Éú³ÉÂú×ã¸ø¶¨Ìõ¼þµÄËùÓÐÏîµÄÃû³Æ¡£ÕâÀ-type f ¸æËß find Ö»²éÕÒÎı¾Îļþ
sort:£¬¹ËÃû˼Ò壬½«¶ÔÁбí½øÐд¦Àí²¢Éú³É°´×ÖĸÅÅÐòµÄÐÂÁбí
uniq:£¨¶Á×ö “unique”£©£¬É¨ÃèÁÐ±í£¬±È½ÏÁбíÖеÄÏàÁÚÔªËØ£¬ÒÔÈ¥³ýÈκÎÖظ´Ïî¡£
 


Ïà¹ØÎĵµ£º

LINUX°²×°JDK

LinuxÏÂjboss 5.1°²×°ÅäÖò½Öè
 
Ò»¡¢ÏÂÔØjboss 5.1ºÍjdk1.6£¨ÎÒ°ÑËûÏÂÔص½/usr/local/src/tarbag£©
jboss 5.1ZIP°ü http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/
java jdk°ü      http://java.sun.com/javase/downloads/widget/jdk6.jsp
¶þ¡¢½âѹ
#cd /usr/lo ......

Ö÷Ì⣺һ¸ö¼òµ¥µÄlinuxÏ̳߳Ø

Ï̳߳Ø
£º¼òµ¥µØ˵£¬Ï̳߳Ø
¾ÍÊÇÔ¤ÏÈ´´½¨ºÃÒ»ÅúỊ̈߳¬·½±ã¡¢¿ìËٵش¦ÀíÊÕµ½µÄÒµÎñ¡£±ÈÆð´«Í³µÄµ½À´Ò»¸öÈÎÎñ£¬¼´Ê±´´½¨Ò»¸öÏß³ÌÀ´´¦Àí£¬½ÚÊ¡ÁËÏ̵߳Ĵ´½¨ºÍ»ØÊյĿªÏú£¬ÏìÓ¦¸ü¿ì£¬Ð§ÂÊ
¸ü¸ß¡£
ÔÚlinuxÖУ¬Ê¹ÓõÄÊÇposixÏ߳̿⣬Ê×ÏȽéÉܼ¸¸ö³£Óõĺ¯Êý£º
1 Ï̵߳Ĵ´½¨ºÍÈ¡Ïûº¯Êý
pthread_create
´´½¨
pthread_join ......

linux °²×°ÓëʹÓÃMySQL

°²×°ÓëʹÓÃMySQL
Ò» ¡¢ÏÂÔØMySQLµÄ°²×°Îļþ
¡¡¡¡°²×°MySQLÐèÒªÏÂÃæÁ½¸öÎļþ£º
¡¡¡¡MySQL-server-4.0.16-0.i386.rpm
¡¡¡¡MySQL-client-4.0.16-0.i386.rpm
¡¡¡¡ÏÂÔصØַΪ£ºhttp://www.mysql.com/downloads/mysql-4.0.html£¬ ´ò¿ª´ËÍøÒ³£¬ÏÂÀ­ÍøÒ³ÕÒµ½“Linux x86 RPM downloads”ÏÕÒµ½“Server&rdquo ......

linux cÓïÑÔ selectº¯ÊýÓ÷¨

  SelectÔÚSocket±à³ÌÖл¹ÊDZȽÏÖØÒªµÄ£¬¿ÉÊǶÔÓÚ³õѧSocketµÄÈËÀ´Ëµ¶¼²»Ì«°®ÓÃSelectд³ÌÐò£¬ËûÃÇÖ»ÊÇÏ°¹ßдÖîÈç connect¡¢accept¡¢recv»òrecvfromÕâÑùµÄ×èÈû³ÌÐò£¨Ëùν×èÈû·½Ê½block£¬¹ËÃû˼Ò壬¾ÍÊǽø³Ì»òÊÇÏß³ÌÖ´Ðе½ÕâЩº¯Êýʱ±ØÐëµÈ
´ýij¸öʼþµÄ·¢Éú£¬Èç¹ûʼþûÓз¢Éú£¬½ø³Ì»òÏ߳̾ͱ»×èÈû£¬º¯Êý²»ÄÜÁ¢¼´·µ» ......

LinuxÔËÐÐÁ˶à¾Ã£¿

£¨1£©²é¿´Ê±ÖÓÖжϣº
$ cat /proc/interrupts
           CPU0
  0:    1380471    IO-APIC-edge  timer
  1:       3626       IO-APIC-edge  i8 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ