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

LinuxÈëÃűʼÇÁù

´ÅÅÌ·ÖÇø¹¤¾ß--fdisk
fdisk /dev/hda
fdiskÃüÁîµÄ×ÓÃüÁî
-m   ÏÔʾ°ïÖú£¨ÃüÁîÇåµ¥£©
-a   ¼¤»î·ÖÇøµÄ¿ÉÒýµ¼±êÖ¾
-l   Áгö¿ÉÑ¡µÄ·ÖÇøÀàÐÍ
-n   Ìí¼ÓзÖÇø
-d   ɾ³ýÒѾ­´æÔڵķÖÇø
-p   ÏÔʾ·ÖÇø±í
-t   ¸Ä±ä·ÖÇøµÄÎļþÀàÐÍ
           д·ÖÇø±í
-q   Í˳ö
Á·Ï°£º
Ìí¼ÓÐéÄâÓ²ÅÌ
·ÖÇø¹æ»®
/dev/sdb1    1G                     ext2
/dev/sdb2    9G   À©Õ¹·ÖÇø
-----------------
/dev/sdb5    2G                     ext2
/dev/sdb6    2G                     ext3
/dev/sdb7    2G                     ext3
/dev/sdb8    1G                     VFAT
/dev/sdb9    1G                     VFAT
fdisk -l /dev/sda
fdisk -l /dev/sdb
fdisk /dev/sdb
m  °ïÖú
n  Ìí¼Ó·ÖÇø
p  ´´½¨Ò»¸öÖ÷·ÖÇø 1
n  Ôٴδ´½¨
e  ·ÖÅäÀ©Õ¹·ÖÇø (Ò»¿éÓ²ÅÌÖ»ÄÜÓÐÒ»¸öÀ©Õ¹·ÖÇø)

l   ´´½¨Ò»¸öÂß¼­·ÖÇø
d   ɾ³ý·ÖÇø
6
w   ±£´æ·ÖÇø
fdisk -l /dev/sdb
p  ²é¿´·ÖÇøÇé¿ö


Ïà¹ØÎĵµ£º

linuxÏÂsvnÃüÁî´óÈ«

1¡¢½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©

ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain

¼òд£ºsvn co
2¡¢Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
svn add file

ÀýÈ磺svn add test.php(Ìí¼Ótest.php)

svn add *.php(Ìí¼Óµ±Ç°Ä¿Â¼ÏÂËùÓеÄphpÎļþ)
3¡¢½«¸Ä¶¯µÄÎļþÌá½»µ½°æ±¾ ......

Linux sockaddr_in¸³Öµ

serv_addr.sin_family=AF_INET;
serv_addr.sin_port=htons(SERVPORT);
inet_pton(AF_INET,"127.0.0.1",&serv_addr.sin_addr);
IPµØַת»»º¯ÊýÓУºinet_pton,inet_addr,inet_aton,inet_ntoa£¬inet_ntop
Ç°Èý¸öÊǽ«ASCII×Ö·ûת»»³ÉÍøÂç×Ö½ÚÐò£»
×îºóÁ½¸öÊǽ«ÍøÂç×Ö½ÚÐòת»»³ÉASCII×Ö·û¡£
ÏÖÔÚÍƼöʹÓÃine ......

LinuxÐÞ¸ÄÆô¶¯Ïî ¼°Í¼ÐÎ/ÎÄ×Ö½çÃæÇл»


LinuxͼÐνçÃæºÍÎÄ×Ö½çÃæÆô¶¯ÏµÍ³·½Ê½µÄÇл»
ת×Ô:http://www.webisok.com/46/t-1346.html
ÒÔrootµÄÉí·ÝµÇ½£¬È»ºóÖ´ÐУº
#cd /etc
#vi inittab
¸ü¸Ä"id:5:initdefault:"Óï¾ä¼´¿É¡£
ÆäÖÐ5±íʾĬÈÏͼÐÎÆô¶¯½çÃæ
3±íʾĬÈÏÎÄ×ÖÆô¶¯½çÃæ
×¢£ºÔÚÆô¶¯Ö®ºó£¬»¹¿ÉÒÔͨ¹ýÏÂÃæµÄÓï¾ä½øÐÐÇл»£º
#init n
Èç¹ûÔÚͼÐνçÃæÏ ......

vmwareÐéÄâlinux¾ÖÓòÍøÖÐÉÏÍø

vmwareÐéÄâlinux¾ÖÓòÍøÖÐÉÏÍø 
¶ÔÓÚ³õѧlinuxµÄÅóÓÑ£¬×îºÃÊÇÔÚwindowsÏÂÓÃvmwareÐéÄâÒ»¸ölinux£¬Èç¹ûÊǾÖÓòÍø£¬¿ÉÒÔʹÓÃNAT·½Ê½×îΪ¼òµ¥¡£
ÓÃVMnet8£¬°²×°ºÃºó£¬Ñ¡ÔñNAT·½Ê½£¬È»ºóÔÚwindowsÖ÷»úÉÏÓÃipconfig²é¿´VMnet8µÄIPµØÖ·£¬ÔËÐÐ->cmd->ipconfig -all
Ò»°ãÊÇ192.168.X.1/255.255.255.0
´ËʱVMnet8µÄÉèÖ ......

LinuxÃüÁ½õ

uname   -a         ²é¿´Äں˰汾              
ls   -al         ÏÔʾËùÓÐÎļþµÄÊôÐÔ
pwd        ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ