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

linuxϵÄÓ²ÅÌ·ÖÇø£¬¸ñʽ»¯£¬¹ÒÔØ

linuxϽøÐÐÓ²ÅÌ·ÖÇø£¬½øÐиñʽ»¯´¦Àí£¬²¢½øÐйÒÔØʹÓÃ
ʵÑé»·¾³£º
HPZ400¹¤×÷Õ¾ £º 500GÓ²ÅÌ
ÓÉÓÚ±¾»úÊÇԤװµÄSUSE Linux Enterprise Desktop  11 (x86_64)
³ö³§Ê±£¬½öÔÚÓ²ÅÌÉÏ·ÖÁËÒ»¸ö38GµÄext3Îļþϵͳ£¬ºÍÒ»¸ö2GµÄswap·ÖÇø£¬ËùÒÔ¶ÔÓÚÆäËüµÄ¿ÕÏзÖÇø£¬ÒªÊµÏÖʹÓ㬾ÍÒª½øÐиñ
´¦Àí¡£
¿ÉÓõķÖÇø¹¤¾ßÓУºfdisk , cfdisk
Ó²Å̵Ĵ¦Àí¶ÔÓÚ²Ù×÷ϵͳ¶øÑÔ£¬ºÜÓпÉÄÜÔì³ÉÊý¾Ý¶ªÊ§£¬ËùÒÔÖ»ÓÐrootÓû§²ÅÓÐȨÏÞ
Èç¹û²»ÊÇrootÓû§£¬×îºÃÏÈ°ÑÓû§µÄȨÏÞ±ä³Éroot
jsj@linux-HPWorkstaion:~/Desktop> su
¿ÚÁ
linux-HPWorkstaion:/home/jsj/Desktop #
ÕâÑù¾Íת³ÉrootȨÏÞÁË
1. ÏÈÓÃdf ²éÄêÒ»ÏÂÏÖÓеļº¹ÒÔصķÖÇøÐÅÏ¢
2. ÓÃfdisk -l ¿ÉÒԲ鿴ÏÖÓеÄÓ²ÅÌÐÅÏ¢
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x006b6011
   Device Boot      Start         End      Blocks          Id   System
/dev/sda1               1            2040    16384000     82  Linux swap / Solaris
/dev/sda2   *        2041        6609    36700492+  83  Linux
Ó²ÅÌ´óС500G 
3.ÊäÈëcfdisk, ½øÈëcfdisk³ÌÐò½çÃæ
                      cfdisk (util-linux-ng 2.14.1)
                              Disk Drive: /dev/sda
                       Size: 500107862016 bytes, 500.


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

Linux Cµ÷ÊÔÈëÃÅ

1.×Ô¶¨ÒåÊä³ö
  Ïë±Ø´ó¼Ò¶¼ÓÐÀûÓÃÊä³öº¯ÊýÈçprintfÀ´°ïÖúÎÒÃǵ÷ÊÔ³ÌÐòµÄ¾­Àú£¬ÕâÊÇÒ»ÖֱȽÏԭʼµÄ³ÌÐòµ÷ÊÔ¸¨Öú·½·¨£¬ÔÚLinuxÏÂÒ²¿ÉÒÔΪÎÒÃÇËùÓᣲ»¹ýÕâÖÖ·½·¨ÓÐÒ»¸öÃ÷ÏÔµÄȱµã£¬¾ÍÊÇÔÚµ÷ÊÔÍêºóÎÒÃDZØÐë×¢ÊÍ»òɾ³ýµôÕâЩ¸¨Öú´úÂë¡£Linux CÌṩÁË-DDEBUGÕâ¸ö±àÒë±ê¼ÇÀ´¶¨ÒåDEBUGÕâ¸ö·ûºÅ£¬½èÖúÓڸ÷ûºÅ£¬ÎÒÃÇ¿ÉÒÔÔÚÓ¦Ó ......

LinuxϵÄÉñÆæÖ¸Áî——netcat


netcat
 ¾ÍÏñ cat 
Ö¸ÁîÒ»樣£¬Ö»ÊÇ將簡單µÄ 
cat 
¹¦ÄÜÍêÈ«¡¸網·»¯¡¹£¬ºÃÓÃ與靈»îµÄ³Ì¶È¿É說ÊǺÜ驚ÈË£¬¶øÔÚ 
Top 100 Network Security Tools
 ÅÅÐаñÖÐ還ÅÅÐеÚËÄÃûÄØ£¡
netcat ³ýÁË ......

linuxÏÂÃ涨ʱ


alarm
       Èç¹û²»ÒªÇóºÜ¾«È·µÄ»°£¬Óà alarm() ºÍ signal() ¾Í¹»ÁË 
       unsigned int alarm(unsigned int seconds)      
       ʾÀý£º
    &nbs ......

Linux fork()º¯Êýѧϰ

    ÔÚ UNIX ϵͳÖУ¬Óû§´´½¨Ò»¸öнø³ÌµÄΨһ·½·¨¾ÍÊǵ÷ÓÃϵͳµ÷Óà fork¡£µ÷ Óà fork µÄ½ø³Ì³ÆΪ¸¸½ø³Ì£¬¶øд´½¨µÄ½ø³Ì½Ð×ö×Ó½ø³Ì¡£ÏµÍ³µ÷ÓõÄÓï·¨¸ñʽ£º
    pid = fork();
    ÔÚ´Óϵͳµ÷Óà fork Öзµ»Øʱ£¬Á½¸ö½ø³Ì³ýÁË·µ»ØÖµ pid ²»Í¬Í⣬¾ßÓÐÍêÈ«Ò»ÑùµÄÓû§¼¶ÉÏÏÂÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ