linux »ù±¾ÃüÁî1
×¢Òâµã£ºlinux ÏÂÇø·Ö´óСд
ÃüÁîÐÐ
exit ×¢Ïúϵͳ
ls -al/root ÁгörootÎļþ¼ÐÏÂËùÓÐÒþ²ØÎļþÓëÏà¹ØµÄÎļþÊôÐÔ
sh username Çл»Óû§
LANG=en
LANGUIAGE=en
LC_ALL=en
LC_CTYPE=en
LC_TIME=en ÔÚÃüÁîÐÐÖиıä±àÂ뷽ʽ enΪӢÎÄ
date ÏÔʾʱ¼ä
date +%Y/%m/%d ÏÔʾÄêÔÂÈÕ 2010/02/04
date +%H:%M ÏÔʾµ±Ç°Ê±¼ä 11:07
cal ÏÔʾµ±Ç°Ô·ÝÈÕÀú
cal 2010 ÏÔʾ2010ÄêµÄÔÂÀúÇé¿ö
cal month year ÏÔʾijÄêijÔµÄÈÕÀú
bc ¼ÆËãÆ÷ +¼Ó·¨-¼õ·¨*³Ë·¨/³ý·¨ ^Ö¸Êý %ÓàÊý
quit Í˳ö¼ÆËãÆ÷
scale=number numberΪ¶àÉÙ ¾«È·µ½Ð¡Êýµã¼¸Î»
TAB ¼ü Îļþ²¹È«£¬ÃüÁȫ
Èç ca [tab][tab] »áÏÔʾËùÓÐÒÔca¿ªÍ·ÃüÁî
ls -al ~/.bash [tab][tab] »áÏÔʾËùÓÐ.bash¿ªÍ·Îļþ
[ctr
Ïà¹ØÎĵµ£º
1.·ÖÇøÓë¸ñʽ»¯ÔÀí
Ó²Å̵ķÖÇø·ÖÖ÷MBR£¨446byte£©,Ö÷·ÖÇø±í(64byte)£¬·ÖÇø.
2.ʹÓÃlinuxÖеÄfdisk·ÖÇø
fdisk /dev/sdb
p ´òÓ¡·ÖÇø±í
t ת»»·ÖÇø±í
w д½ø·ÖÇø±í
n н¨·ÖÇø
v ¼ì²é·ÖÇø
×¢£ºfdiskʹÓÃÍêÒªÖØÐÂÆô¶¯.ÐÂÓ²Å̲»ÓÃ.
3.linuxµÄ¸ñʽ»¯Èí¼þ
mkfs-Ö§³Öext2,ext3,vfat,msdos,jfs,reiserfsµÈ
Ó÷¨1£ºmkfs ......
env setup
linux(ubuntu)ÏÂruby¿ª·¢»·¾³´î½¨£¬°üÀ¨Ò»Ð©³£¼ûÎÊÌâ½â¾ö
×¢Ò⣬±¾ÎÄÖ»ÊÇÎÒÔڴrubyѧϰ»·¾³Ê±µÄһЩ±Ê¼Ç£¬ÒòΪÊÇÓÃgedit±à¼µÄ£¬ËùÒÔ¸ñʽ»¯²»ÊǺܺã¬ÁíÍ⣬ֻÊDZ¸Íü¶øÒÑ¡£
2010.1.19
1. install ruby
$ tar xzf ruby-1.8.7-p248.tar.gz
$ mv ruby-1.8.7-p248 ruby187
$ cd ruby187/
$ ./configure
......
Ò»¡¢ÄÚºËÆô¶¯Íêºó£¬Ê×ÏÈÔËÐÐ/linuxrc
/linuxrc ÄÚÈÝ£º
#!/bin/sh
echo "mount /etc as ramfs"   ......
Ŀ¼
1¡¢¹ØÓÚÎı¾±à¼Æ÷£»
2¡¢vi ±à¼Æ÷£»
3¡¢vi ±à¼Æ÷µÄʹÓ÷½·¨£»
3.1 ÈçºÎµ÷ÓÃvi £»
3.2 vi µÄÈýÖÖÃüÁîģʽ£»
3.3 ÎļþµÄ±£´æºÍÍ˳ö£»
3.4 ¹â±êÒƶ¯£»
3.5
²åÈëģʽ£¨Îı¾µÄ²åÈ룩£»
3.6 Îı¾ÄÚÈݵÄɾ³ý²Ù×÷£»
3.7 »Ö¸´Ð޸ļ°»Ö¸´É¾³ý²Ù×÷£»
3.8 ¿ÉÊÓģʽ£»
3.9
¸´ÖƺÍÕ³ÌûµÄ²Ù×÷£»
3.10 ¹ØÓÚÐкţ»
......
ÈÕÆÚ£º2010-02-04
×÷ÕߣºSteven Yang
ÓÊÏ䣺mqyoung@gmail.com
×¢£º×ªÔØÇë×¢Ã÷³ö´¦ºÍ×÷Õß²¢±£³ÖÎĵµµÄÍêÕû
HZ
ÄÚºËͨ¹ý¶¨Ê±Æ÷ÖжÏÀ´¸ú×Ùʱ¼äÁ÷£¬Ê±ÖÓÖжÏÓÉϵͳ¶¨Ê±Ó²¼þÒÔÖÜÆÚÐԵļä¸ô²úÉú£¬Õâ¸ö¼ä¸ôÓÉÄں˸ù¾ÝHZµÄÖµÉ趨¡£
HZÓëÌåϵ½á¹¹Óйأ¬¶¨ÒåÔÚ<linux/param.h>ÖлòÕ߸ÃÎļþ°üº¬µÄij¸ö×Óƽ̨Ïà¹ØµÄÎļþÖС ......