ÐÂÊÖ¿´ÕРʵÓõÄUbuntu LinuxÃüÁî´óÈ«
1 Îļþ¹ÜÀí # ls ls -a Áгöµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ£¬°üÀ¨ÒÔ.Í·µÄÒþº¬Îļþ
Îļþ¹ÜÀí # ls ls -l»òll Áгöµ±Ç°Ä¿Â¼ÏÂÎļþµÄÏêϸÐÅÏ¢
Îļþ¹ÜÀí # pwd pwd ²é¿´µ±Ç°ËùÔÚĿ¼µÄ¾ø¶Ô·¾
Îļþ¹ÜÀí # cd cd .. »Øµ±Ç°Ä¿Â¼µÄÉÏÒ»¼¶Ä¿Â¼
Îļþ¹ÜÀí # cd cd - »ØÉÏÒ»´ÎËùÔÚµÄĿ¼
Îļþ¹ÜÀí # cd cd ~ »ò cd »Øµ±Ç°Óû§µÄËÞÖ÷Ŀ¼
Îļþ¹ÜÀí # cd cd ~Óû§Ãû »ØÖ¸¶¨Óû§µÄËÞÖ÷Ŀ¼
2 Îļþ¹ÜÀí # mkdir mkdir Ŀ¼Ãû ´´½¨Ò»¸öĿ¼
Îļþ¹ÜÀí # mkdir mkdir –p µÝ¹éʽȥ´´½¨Ò»Ð©Ç¶Ì×Ŀ¼
Îļþ¹ÜÀí # rmdir Rmdir ¿ÕĿ¼Ãû ɾ³ýÒ»¸ö¿ÕĿ¼
3 Îļþ¹ÜÀí # rm rm ÎļþÃû ÎļþÃû ɾ³ýÒ»¸öÎļþ»ò¶à¸öÎļþ
Îļþ¹ÜÀí # rm rm -rf ·Ç¿ÕĿ¼Ãû µÝ¹éɾ³ýÒ»¸ö·Ç¿ÕĿ¼ÏµÄÒ»ÇУ¬²»ÈÃÌáʽ-f
4 Îļþ¹ÜÀí # cat catÎļþÃû Ò»ÆÁ²é¿´ÎļþÄÚÈÝ
5 Îļþ¹ÜÀí # more moreÎļþÃû ·ÖÒ³²é¿´ÎļþÄÚÈÝ
6 Îļþ¹ÜÀí # less less ÎļþÃû ¿É¿Ø·ÖÒ³²é¿´ÎļþÄÚÈÝ
7 Îļþ¹ÜÀí # grep grep×Ö·û ÎļþÃû ¸ù¾Ý×Ö·ûÆ¥ÅäÀ´²é¿´Îļþ²¿·ÖÄÚÈÝ
8 Îļþ¹ÜÀí # mv mv ·¾/Îļþ /¾/Îļþ Òƶ¯Ïà¶Ô·¾ÏµÄÎļþµ½¾ø¶Ô·¾ÏÂ
Îļþ¹ÜÀí # mv mv ÎļþÃû ÐÂÃû³Æ ÔÚµ±Ç°Ä¿Â¼Ï¸ÄÃû
9 Îļþ¹ÜÀí # cp cp /·¾/Îļþ ./ Òƶ¯¾ø¶Ô·¾ÏµÄÎļþµ½µ±Ç°Ä¿Â¼ÏÂ
10 Îļþ¹ÜÀí # find find ·¾ -name “×Ö·û´®” ²éÕÒ·¾ËùÔÚ·¶Î§ÄÚÂú×ã×Ö·û´®Æ¥ÅäµÄÎļþºÍĿ¼
11 Îļþ¹ÜÀí # ln ln Ô´Îļþ Á´½ÓÃû ´´½¨µ±Ç°Ä¿Â¼Ô´ÎļþµÄÓ²Á´½Ó
ln /home/test /usr/test1 ÔÚ/usrϽ¨Á¢/home/testµÄÓ²Á´½Ó
12 Îļþ¹ÜÀí # ln Ln -s a b ´´½¨µ±Ç°Ä¿Â¼ÏÂaµÄ·ûºÅÁ´½Ób
13 Îļþ¹ÜÀí # touch touch file1 file2 ´´½¨Á½¸ö¿ÕÎļþ
14 ´ÅÅ̹ÜÀí # df df ÓÃÓÚ±¨¸æÎļþϵͳµÄ×ÜÈÝÁ¿£¬Ê¹ÓÃÁ¿£¬Ê£ÓàÈÝÁ¿¡£
15 ´ÅÅ̹ÜÀí # du du -b /home ²é¿´Ä¿Ç°/HOMEĿ¼µÄÈÝÁ¿(k)¼°×ÓĿ¼µÄÈÝÁ¿(k)¡£
16 ´ÅÅ̹ÜÀí # fdisk fdisk -l ²é¿´ÏµÍ³·ÖÇøÐÅÏ¢
17 ´ÅÅ̹ÜÀí # fdisk fdisk /dev/sdb Ϊһ¿éеÄSCSIÓ²Å̽øÐзÖÇø
18 ´ÅÅ̹ÜÀí # mkfs.ext3 Mkfs.ext3 /dev/sdb1
ΪµÚÒ»¿éSCSIÓ²Å̵ĵÚÒ»Ö÷·ÖÇø¸ñʽ»¯³É
ext3µÄÎļþϵͳ
mkfs.ext2 Mkfs.ext2/dev/sdb2 ¸ñʽ»¯³Éext2Îļþϵͳ
19 ´ÅÅ̹ÜÀí # mount mount -t ÎļþϵͳÀàÐÍ É豸·¾ ·ÃÎÊ·¾ ´ÅÅ̹ÜÀí # ÎļþϵͳÀàÐÍ
ISO9660 ¹âÇýÎļþϵͳ
vfat FatÎļþϵͳ(windows)
¹ÒÔعâÇý # mount –t iso9660 /dev/cdrom /mnt/cdrom
¹ÒÔØFAT # mount –t vfat /dev/hda5 /mnt/cdro
Ïà¹ØÎĵµ£º
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
¸úÏþÁúѧLinuxϵÁн²×ùÊÇÕë¶ÔLinux³õÖм¶Ê¹ÓÃÕߵĽÌѧÊÓƵºÍѧϰÎÄÕ¡£±¾½ÌѧÊÓƵ·ÖÁ½¼¾£¬µÚÒ»¼¾Õë¶Ô³õѧÕߣ¬ÆäÖÐÉæ¼°ÈÕ³£Ó¦Óã¬Ö¼ÔÚÒýÆð³õѧÕßÐËȤ¡£µÚ¶þ¼¾Õë¶ÔÖи߼¶LinuxʹÓÃÕߣ¬Ö¼ÔÚ½â¾ö´ó¼ÒÔÚ¹¤×÷µ±ÖеÄÎÊÌâ¡£±¾ÊÓƵ²»½ö°üº¬ÏµÍ³µÄѧϰÄÚÈÝ£¬Ò²°üÀ¨°²×°¡¢Ñ§Ï°·½·¨µÈ±àÍâƪ£¬½«º¸ÇLPIºÍ RHCEÈÏÖ¤µÄ´ó²¿·Ö֪ʶµã£¬¸ÐÐËÈ ......
Linux ÖÐ x86 µÄÄÚÁª»ã±à
¼¶±ð£º ³õ¼¶
Bharata B. Rao (rbharata@in.ibm.com)IBM Linux ¼¼ÊõÖÐÐÄ£¬IBM Èí¼þʵÑéÊÒ£¬Ó¡¶È
2001 Äê 3 ÔÂ 01 ÈÕ
Bharata B. Rao ÌṩÁËÔÚ Linux ƽ̨ÉÏʹÓú͹¹Ôì x86 ÄÚÁª»ã±àµÄ¸ÅÀ¨ÐÔ½éÉÜ¡£Ëû½éÉÜÁËÄÚÁª»ã±à¼°Æä¸÷ÖÖÓ÷¨µÄ»ù´¡ÖªÊ¶£¬ÌṩÁËһЩ»ù±¾µÄÄÚÁª»ã±à±àÂëÖ¸µ¼£¬²¢½âÊÍÁËÔÚ Linux ......
Linux »ã±àÆ÷£º¶Ô±È GAS ºÍ NASM
¶Ô±È GNU Assembler£¨GAS£©ºÍ Netwide Assembler£¨NASM£©
Ram Narayam (rnaraya2@in.ibm.com), Èí¼þ¹¤³Ìʦ, IBM
2007 Äê 11 ÔÂ 05 ÈÕ
±¾ÎĽâÊÍÁ½ÖÖ×îÁ÷ÐÐµÄ Linux® »ã±àÆ÷ —— GNU Assembler£¨GAS£©ºÍ Netwide Assembler£¨NASM£© —— Ö®¼äһЩ±È½ÏÖØÒªµÄÓï·¨ ......