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µÄÈËÀ´Ëµ£¬Ò»¶¨»á¸øLinuxÏÂÒ»´ó¶Ñ¸÷ʽ¸÷ÑùµÄÎļþÃû¸ø¸ãÔΡ£±ð
¸ö²»Ëµ£¬µ¥µ¥¾ÍѹËõÎļþΪÀý£¬ÎÒÃÇÖªµÀÔÚWindowsÏÂ×î³£¼ûµÄѹËõÎļþ¾ÍÖ»ÓÐÁ½ÖÖ
£¬Ò»ÊÇ,zip£¬ÁíÒ»¸öÊÇ.rar¡£¿ÉÊÇLinux¾Í²»Í¬ÁË£¬ËüÓÐ.gz¡¢.tar.gz¡¢tgz¡¢bz2¡¢
.Z¡¢.tarµÈÖÚ¶àµÄѹËõÎļþÃû£¬´ËÍâwindowsϵÄ.zipºÍ.rarÒ²¿ÉÒÔÔÚLinuxÏÂʹÓ㬠......
ÎÒÃÇʹÓõÄLinuxºÍWindows¿É²»Ì«Ò»Ñù£¬ÓÃtopÃüÁîµÃ³öÀ´µÄ¿ÉÄܲ»ÊÇÕæÊµÊ¹ÓõÄÄڴ棬ÓÃfreeÃüÁîµÚ¶þÐвÅÊÇÏµÍ³ÕæÊµÊ¹ÓõÄÄÚ´æ¡£Èç¹û·¢ÏÖPHP-CGI°ÑÄãµÄÄÚ´æÕ¼ÂúÁ˿ɲ»Òª¾ª»ÅŶ¡£
Page cacheºÍbuffer cacheÒ»Ö±ÒÔÀ´ÊÇÁ½¸ö±È½ÏÈÝÒ×»ìÏýµÄ¸ÅÄÔÚÍøÉÏÒ²ÓкܶàÈËÔÚÕù±çºÍ²ÂÏëÕâÁ½¸öcacheµ½µ×ÓÐÊ²Ã´Çø±ð£¬ÌÖÂÛµ½×îºóҲһֱûÓÐÒ»¸ ......
°²×°ÓëʹÓÃ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 ......
ΪÁ˴nfsϵͳ,...ËùÒÔ ±ØÐëÔÚÄÚºËÒÆÖ²ºÃÍø¿¨Çý¶¯. ÎÒ¿¿.ÕÕÏÂÃæ×ö,Ò»´ÎÄܳɹ¦.
ÎÒµÄÖ÷°åÊÇÓÑÉÆÖ®±Û 2410. »·¾³ÊÇ vmware+ubuntu
LINUX2.6.14ÏÂCS8900µÄÒÆÖ²£¨Fs2410£©
1.
(ÎļþÔÚÎÒµÄÏÂÔØ°æÓÐ)
¿½±´Îļþcs8900.c cs8900.hµ½ linux2.6.14.1/drivers/net
½øÈëĿ¼cs8900
cp cs8900.c ../linux-2.6.14.1/dri ......