Linux ×î³£ÓÃÏÂÁÄܽâ¾ö 95% ÒÔÉϵÄÎÊÌ⣡
/var£º°üÀ¨ÔÚÕý³£²Ù×÷Öб»¸Ä±äµÄÎļþ¡¢¼ÙÍÑ»úÎļþ¡¢¼Í¼Îļþ¡¢¼ÓËøÎļþ¡¢ÔÝʱÎļþºÍÒ³ÃûÌû¯ÎļþµÈ¡£/home£º°üÀ¨Óû§µÄÎļþ£º²ÎÊýÉèÖÃÎļþ¡¢¸öÐÔ»¯Îļþ¡¢Îĵµ¡¢Êý¾Ý¡¢EMALL¡¢»º´æÊý¾ÝµÈ£¬Ã¿ÔöÌíÒ»¸öÓû§£¬ÏµÍ³¾Í»áƾ֤ÆäÓû§ÃûÔÚ home Ŀ¼ÏÂн¨ºÍÆäËûÓû§Í¬ÃûµÄÎļþ¼Ð£¬ÓÃÓÚÉúÑÄÆäÓû§ÉèÖá£/proc£º°üÀ¨Ðé»ÃµÄÎļþ£¬ËûÃÇÏÖʵÉϲ¢²»±£´æÓÚ´ÅÅÌÉÏ£¬Ò²²»Õ¼ÓÃÈκοռ䣨Óà ls-l ¿ÉÒÔÏÔʾËüÃǵĴóС£©µ±Éó²éÕâЩÎļþʱ£¬ÏÖʵÉÏÊÇÔÚ»á¼û±£´æÄÚ´æÖеÄÐÅÏ¢£¬ÕâЩÐÅÏ¢ÓÃÓÚ»á¼ûϵͳ¡£/bin£º°üÀ¨ÏµÍ³Æô¶¯Ê±ÐèÒªµÄÖ´ÐÐÎļþ£¨¶þ½øÖÆ£©£¬ÕâЩÎļþ¿ÉÒÔ±»Í¨Ë×Óû§Ê¹Óá£/etc£ºÎª²Ù×÷ϵͳµÄÉèÖÃÎļþĿ¼£¨·À»ðǽ¡¢Æô¶¯Ï/root£ºÎªÏµÍ³ÖÎÀíÔ±£¨Ò²½Ð³¬µÈÓû§»ò¸ùÓû§£©µÄ Home Ŀ¼¡£/dev£ºÎª×°±¸Ä¿Â¼£¬Linux ÏÂ×°±¸±»µ±³ÉÎļþ£¬ÕâÑùÒ»À´Ó²¼þ±»Áýͳ»¯¡¢±ãÓÚ¶Áд¡¢ÍøÂç¹²ÏíÒÔ¼°ÐèÒªÔÝʱװÔص½ÎļþϵͳÖУ¬Õý³£ÇéÐÎÏ£¬×°±¸»áÓÐÒ»¸ö×ÔÁ¦µÄ×ÓĿ¼£¬ÕâЩװ±¸µÄÄÚÈݻ᷺ÆðÔÚ×ÔÁ¦µÄ×ÓĿ¼Ï¡£Linux ÏÂÁî²Ù×÷Éó²éÄ¿½ñĿ¼ÏÂÁpwd·¿ªÎļþ¼ÐÏÂÁcd·¿ªÖ¸¶¨Îļþ¼Ð£ºcd [Ŀ¼Ãû³Æ]
µÇ¼ºó¸´ÖÆ
cd ~
µÇ¼ºó¸´ÖÆ
cd ¡
µÇ¼ºó¸´ÖÆ
cd -
µÇ¼ºó¸´ÖÆ
cd /
µÇ¼ºó¸´ÖÆ
lsÒÔÁеķ½·¨Éó²éÄ¿½ñĿ¼ÏµÄÎļþÁÐ±í£ºls -l
µÇ¼ºó¸´ÖÆ
ls -a
µÇ¼ºó¸´ÖÆ
ls -la
µÇ¼ºó¸´ÖÆ
mkdirн¨ÎļþĿ¼£ºmkdir Îļþ¼ÐÃû³Æ
µÇ¼ºó¸´ÖÆ
mkdir -p Îļþ¼ÐÃû³Æ
µÇ¼ºó¸´ÖÆ
mkdir -p test/test1/test2/test3 µÝ¹éн¨¶à¼¶Ä¿Â¼µÄд·¨É¾³ýÎļþĿ¼ÏÂÁrmkdirɾ³ýÖ¸¶¨Ä¿Â¼£ºrmkdir Ŀ¼Ãû³Æ
µÇ¼ºó¸´ÖÆ
rmdir -p Ŀ¼Ãû³Æ ÕâÀïûÓÐд´í£¬Ã»ÓÐ×Öĸ kɾ³ýÎļþ»òÕßĿ¼ÏÂÁrm³£ÓÃÏÂÁrm -rf [Ŀ¼»òÎļþ] rm -ri [Ŀ¼»òÎļþ]
µÇ¼ºó¸´ÖÆ
rm -rf Ŀ¼»òÕßÎļþ
µÇ¼ºó¸´ÖÆ
rm -ri Ŀ¼»òÎļþ
µÇ¼ºó¸´ÖÆ
ÓÉÓÚÇ¿ÖÆɾ³ýµÄЧ¹û²»Ì«ºÃ£¬Ò»Ñùƽ³£²»½¨ÒéʹÓà rm -rf ¾ÙÐÐÎļþɾ³ý
rm ÏÂÁîÖв»¸ú r ²ÎÊý£¬ÎÞ·¨É¾³ýĿ¼£¬Ö»ÄÜɾ³ýÎļþ
cpµÝ¹é¸´ÖÆĿ¼1ϵÄËùÓеÄÎļþºÍÎļþ¼Ðµ½Ä¿Â¼2£ºcp -r [Ŀ¼1][Ŀ¼2]
µÇ¼ºó¸´ÖÆ
cp -ri [Ŀ¼1][Ŀ¼2]
µÇ¼ºó¸´ÖÆ
mv½«Îļþ¼Ð1Ãû³Æ¸ü¸ÄΪÎļþ¼Ð2£ºmv Îļþ1 Îļþ2 (¸øÎļþ¸üÃû)½«Ä¿Â¼1µÄÎļþÒƶ¯µ½Ä¿Â¼2£ºmv Ŀ¼2 Ŀ¼2 (½«Ä¿Â¼1µÄÎļþÒƶ¯µ½Ä¿Â¼2)½¨ÉèÎļþÏÂÁtouchtouch ÎļþÃû³ÆÉó²é¡¢±à¼ÎļþÏÂÁvivi ÏÂÁîΪ UNIX ²Ù×÷ϵͳ»òÕßÀà UNIX ²Ù×÷ϵͳ¶¼ÓоßÓеĹ¦Ð§Ç¿Ê¢µÄÎļþ±à¼ÏÂÁÓû§ÊäÈë vi ++ ÎļþÃû£¬±ã¿ÉÒÔ½øÈë vi ģʽ¾ÙÐÐÎļþÄÚÈݵÄÉó²éºÍ±à¼£¬ÈôÊÇÎļþÒѾ±£´æ£¬ÔòÖ±½Ó·¿ªÎļþ£¬ÈôÊÇÎļþ²»±£´æ£¬Ôòϵͳ½«·¿ªÒ»¸öȫеĿÕÎļþ¡£vi µÄÈýÖÖģʽÈçÏ£ºÏÂÁîģʽµ±Óû§Ê¹Óà vi ÏÂÁî·¿ªÎļþºó£¬Ôò½øÈëÏÂÁîģʽ£¬Óû§¿ÉÒÔÊäÈëÏÂÁîÀ´Ö´ÐÐÖÖÖÖ¹¦Ð§¡£ÊäÈëģʽÈôÊÇÓû§Òª¶ÔÎļþ×öÐ޸ģ¬Ôò¿ÉÒÔʹÓÃÏÂÃ漸ÖÖÏÂÁ½øÈëÊäÈëģʽ£¬Óû§½øÈëÊäÈëģʽ֮ºó£¬¿ÉÒÔí§ÒâÐÞ¸ÄÎļþ£¬³ýÁË Esc ¼üÍ⣬Óû§ÊäÈëµÄÈκÎ×Ö·û¶¼»á±»×÷ΪÄÚÈÝдÈëÎļþÖУ¬Óû§ÊäÈë Esc ¿ÉÒÔ¶ÔÎļþ¾ÙÐÐÏà¹Ø²Ù×÷¡£Ä©ÐÐģʽÈôÊÇÓû§Íê³É±à¼ÏÂÁÔò¿ÉÒÔƾ֤ esc + ¡°:¡± ½øÈëÄ©ÐÐģʽ£¬Óû§¿ÉÒÔ¶ÔÎļþÄÚÈݼÌÐø¾ÙÐÐËÑË÷£¬Ò²¿ÉÒÔÊäÈë ¡°:wq!¡± ¾ÙÐÐÎļþÉúÑIJ¢Í˳ö£¬»òÕßÊäÈë ¡°:q!¡± Ç¿ÖÆÍ˳öÎļþ±à¼¡£Éó²é¡¢±à¼ÎļþÏÂÁcatÏÔʾһ¸öСµÄÎļþµÄÄÚÈÝ£ºcat ÎļþÃû³Æ
µÇ¼ºó¸´ÖÆ
cat > ÎļþÃû³Æ
µÇ¼ºó¸´ÖÆ
headhead [²ÎÊý] [ÎļþÃû]
µÇ¼ºó¸´ÖÆ
ÀýÈ磬ʹÓà head ÏÂÁîÏÔʾij¸öÎļþ×îÏ鵀 n ÐÐÊý¾Ý£ºhead -n ÎļþÃû³Æ
tail¶¯Ì¬¼ÓÔØij¸öÎļþµÄÄÚÈÝ£¨³£ÓÃÓÚÉó²éÈÕÖ¾Îļþ£©£ºtail -f ÎļþÃû³Æ
µÇ¼ºó¸´ÖÆ
tail -n ÐÐÊýÎļþÃû³Æ
µÇ¼ºó¸´ÖÆ
Linux ȨÏÞÖÎÀí
Óû§ºÍÓû§×é
Óû§ÊÇÖ¸ÔÚÒ»¸ö²Ù×÷ϵͳÖУ¬Ò»ÏµÁÐȨÏÞµÄÜöÝÍÌ壬²Ù×÷ְԱͨ¹ýÓû§ÃûºÍ¿ÚÁî¿ÉÒÔÔÚϵͳÖÐÖ´ÐÐijһЩ±»ÔÊÐíµÄ²Ù×÷¡£²î±ðµÄÓû§¿ÉÒÔ¾ßÓвî±ðµÄȨÏÞ¡£Linux ²Ù×÷ϵͳÖÐÿ¸öÓû§¶¼¾ßÓÐΨһ±êʶ UID£¬µ±Ê¹ÓÃÏÂÁÉèÓû§Ê±£¬ÈôÊDz»Ö¸¶¨Óû§µÄ UID£¬Ôòϵͳ½«×Ô¶¯ÎªÆä·ÖÅÉ UID¡£
Óû§×é¾ÍÊǾßÓÐÏàͬÌØÕ÷µÄÓû§µÄÜöÝÍÌ壬ÔÚ Linux ϵͳÖУ¬Ã¿Ò»¸öÓû§¶¼ÊôÓÚÖÁÉÙÒ»¸öÓû§×é¡£Linux ²Ù×÷ϵͳÖÐÿ¸öÓû§·Ö×鶼¾ßÓÐΨһ±êʶ GID£¬µ±Ê¹ÓÃÏÂÁÉèÓû§×éʱ£¬ÈôÊDz»Ö¸¶¨Óû§×éµÄ GID£¬Ôòϵͳ½«×Ô¶¯ÎªÆä·ÖÅÉ GID¡£µ±Ê¹Óà -u Ö¸¶¨Óû§ id ʱ£¬Óû§ id Ö»¹Ü´óÓÚ500£¬ÒÔÃâ³åÍ»¡£ÓÉÓÚ Linux ²Ù×÷ϵͳװÖú󣬻áĬÈϽ¨ÉèһЩÓû§£¬ÒÔÊÇ¿ÉÄÜ»áÕ¼Óà 500 Ö®ÄÚµÄ id ºÅ¡£
Å£±Æ°¡£¡½Ó˽»î±Ø±¸µÄ N ¸ö¿ªÔ´ÏîÄ¿£¡¸ÏæÕä²Ø
µÇ¼ºó¸´ÖÆ
Linux ȨÏÞ»úÖÆÓÐÒÔÏÂÌص㣺
susu [̞] Șͧ su -[̞]
µÇ¼ºó¸´ÖÆ
su[Óû§Ãû]ºÍ su -[Óû§Ãû]¶¼¿ÉÒÔÇл»Óû§£¬Ç°ÕßÀàËÆÓÚÔÝʱÇл»Óû§£¬µ±Ê¹ÓøÃÏÂÁî¾ÙÐÐÇл»ÐÂÓû§Ê±£¬Óû§ÉèÖÃÈÔÈ»ÑØÓÃÔÀ´µÄÓû§ÉèÖã¬ÈçÇéÐαäÁ¿¡¢ÏµÍ³±äÁ¿µÈ¡£´ËºóÕß¾ÙÐÐÇл»Óû§Ê±£¬ÇéÐαäÁ¿¡¢ÏµÍ³ÉèÖÃËùÓÐÇл»³ÉÐÂÓû§µÄÓû§ÉèÖá£Éó²éÄ¿½ñÉÏ°¶Óû§ÏÂÁwhoamiÉó²éÄ¿½ñÓû§ËùÊô·Ö×éÏÂÁgroupsÉó²éÄ¿½ñÓû§ UID ºÍ GID ÏÂÁidÌí¼ÓÐÂÓû§ÏÂÁuseraddÔÚ Linux ²Ù×÷ϵͳÖÐÌí¼ÓÓû§£ºuseradd Óû§ÃûÔÚ Linux ²Ù×÷ϵͳÖÐÌí¼ÓÓû§²¢Ö¸¶¨Óû§ UID£ºuseradd -u Ö¸¶¨µÄ UID Óû§ÃûÐÞ¸ÄÓû§ÃÜÂëÏÂÁpasswdÀýÈ磺ÐÞ¸ÄÄ¿½ñÓû§ÃûΪ sang µÄÓû§ÃÜÂ룺passwd sang
µÇ¼ºó¸´ÖÆ
ÔÚÌí¼ÓÓû§Ö®ºó£¬Ö»ÓÐΪÆäÉèÖÃÃÜÂ룬Óû§²Å»ªÉÏ°¶
userdelɾ³ýÓû§£ºuserdel Óû§Ãû
µÇ¼ºó¸´ÖÆ
userdel -r ̞
µÇ¼ºó¸´ÖÆ
usermodÓï·¨£ºusermod [Ñ¡Ïî] [²ÎÊý] [Óû§Ãû]
µÇ¼ºó¸´ÖÆ
usermod -l ÐÂÓû§Ãû ¾ÉÓû§Ãû
µÇ¼ºó¸´ÖÆ
usermod -g ÐÂ×éÃû³Æ Óû§Ãû
µÇ¼ºó¸´ÖÆ
groupaddÓï·¨£ºgroupadd [Ñ¡Ïî] [×éÃû³Æ]
µÇ¼ºó¸´ÖÆ
groupadd ×éÃû
µÇ¼ºó¸´ÖÆ
groupadd -g ×é GID ×éÃû
µÇ¼ºó¸´ÖÆ
ȨÏÞ²Ù×÷
Linux ²Ù×÷ϵͳΪÎļþ½ç˵Á˶Á¡¢Ð´¡¢Ö´ÐÐÈýÖÖȨÏÞ£¬²î±ðµÄÓû§»òÕßÓû§×é¿ÉÒÔ¾ßÓвî±ðµÄȨÏÞ£¬ÏµÍ³½ÓÄÉ ¡°r¡±¡¢¡°w¡±¡¢¡°x¡± À´»®·ÖÌåÏÖÎļþµÄ¶Á¡¢Ð´¡¢Ö´ÐÐȨÏÞ¡£Ê¹Óà ls -l ÏÂÁî¿ÉÒÔÉó²éµ½Óû§ÔÚÄ¿½ñĿ¼»òÕßÎļþµÄ²Ù×÷ȨÏÞ¡£
¾ÙÁУº
drwxr -xr -x. 2 root root 4096 Sep 23 2011 bin
µÇ¼ºó¸´ÖÆ
´Ó×óÖÁÓÒ»®·ÖÌåÏÖÈçϼÄÒ壺
d£º´ú±í bin ÊýĿĿ¼¶ø²»ÊÇÎļþrwx£º´ú±íÓµÓÐÕß¾ßÓжÁ¡¢Ð´¡¢Ö´ÐеÄȨÏÞr -x£º´ú±íͬ×éÓû§¾ßÓжÁ¡¢Ö´ÐеÄȨÏÞ£¬¿ÉÊÇûÓÐдȨÏÞr -x£º´ú±íÆäËû×éÓû§¾ßÓжÁ¡¢Ö´ÐÐȨÏÞ£¬Ã»ÓÐдȨÏÞ³£Óõı任ȨÏÞÏÂÁîΪ£ºchmodÓï·¨£ºchmod [Ñ¡Ïî] [²ÎÊý]chmod µÄ²ÎÊý¿ÉÒÔ·ÖΪÁ½ÖÖ£¬»®·ÖÊÇȨÏÞģʽºÍÊý×Öģʽ¡£È¨ÏÞģʽ£ºÈ¨ÏÞģʽʹÓà u¡¢g¡¢o »®·Ö´ú±íÓµÓÐÕß¡¢Í¬×éÓû§¡¢ÆäËû×éÓû§£¬Ê¹Óà + ºÍÒ»´ú±í¸¶ÓëºÍÊÕ»ØȨÏÞ£¬Ê¹Óà r¡¢w¡¢x ´ú±í¶Á¡¢Ð´¡¢Ö´ÐÐȨÏÞ¡£ÀýÈ磺½«Îļþ01µÄÖ´ÐÐȨÏÞ¸øÄ¿½ñÓû§£¬Ð´È¨ÏÞ¸³¸øÓû§ËùÔÚµÄÓû§×éºÍÆäËûÓû§¡£chmod -r U+X,G+W F01 ÀýÈ磺½«Îļþ f01 µÄ¶Á¡¢Ð´¡¢Ö´ÐеÄȨÏÞ¸³¸øÄ¿½ñÓû§£¬½«¶Á¡¢Ð´È¨ÏÞ¸³¸øÓû§ËùÔÚµÄÓû§×éºÍÆäËûÓû§¡£ÁíÍ⣬ËÑË÷ÃñÖÚºÅLinuxÖÐÎÄÉçÇøºǫ́»Ø¸´¡°Ë½·¿²Ë¡±£¬»ñÈ¡Ò»·Ý¾ªÏ²Àñ°ü¡£chmod -r u=rwx,g=rw,o=rw f01 Êý×Öģʽ£ºÎªÁ˼ò»¯ÊÚȨ°ì·¨£¬Óû§Ò²¿ÉÒÔ½ÓÄÉÊý×Öģʽ¾ÙÐÐÊÚȨ£¬Ê¹Óöþ½øÖƵÄÐÎʽ´ú±í r¡¢w¡¢x ÈýÖÖȨÏÞ£¬Èç 101 (5) =r -x£¬111 (7) =rwx£¬100 (3) =r- -ÀýÈ磺½«Îļþ f01 µÄ¶Á¡¢Ð´¡¢Ö´ÐеÄȨÏÞ¸³¸øÄ¿½ñÓû§£¬½«¶ÁºÍÖ´ÐÐȨÏÞ¸³¸øÓû§×é¡¢½«Ð´ºÍÖ´ÐÐȨÏÞ¸³¸øÆäËûÓû§¡£chmod 753 -r f01 ÀýÈ磺½«Îļþ f01 µÄ¶Á¡¢Ð´¡¢Ö´ÐÐȨÏÞ¸³¸øËùÓÐÓû§¡£chmod 777 -r f01 Linux Àú³ÌÖÎÀíÔÚ Linux µÄÓ¦ÓÃÖУ¬ÎÒÃÇÐèÒª¶ÔÀú³Ì¾ÙÐÐÖÎÀí£¬ÈçÉó²éij¸öÀú³ÌÊÇ·ñÆô¶¯¡¢ÒÔ¼°ÔÚÐëÒªµÄʱ¿Ì£¬É±µôij¸öÏ̡߳£Éó²éÀú³ÌÏÂÁpsps ÏÂÁîÊÇ Linux ²Ù×÷ϵͳÖÐÉó²éÀú³ÌµÄÏÂÁͨ¹ý ps ÏÂÁîÎÒÃÇ¿ÉÒÔÉó²é Linux ²Ù×÷ϵͳÖÐÕýÔÚÔËÐеÄÀú³Ì£¬²¢¿ÉÒÔ»ñµÃÀú³ÌµÄ PID£¨Àú³ÌµÄΨһ±êʶ£©£¬Í¨¹ý PID ¿ÉÒÔ¶ÔÀú³Ì¾ÙÐÐÏìÓ¦µÄÖÎÀí¡£ps -ef | grep [Àú³ÌÒªº¦×Ö] ƾ֤Àú³ÌÒªº¦´ÊÉó²éÀú³ÌÏÂÁîÏÔʾÈçÏ£¬ÏÔʾµÄÀú³ÌÁбíÖеÚÒ»ÁÐÌåÏÖ¿ªÆôÀú³ÌµÄÓû§£¬µÚ¶þÁÐÌåÏÖÀú³ÌΨһ±êʶ PID£¬µÚÈýÁÐÌåÏÖ¸¸Àú³Ì PPID£¬µÚËÄÁÐÌåÏÖ CPU Õ¼ÓÃ×ÊÔ´±ÈÁУ¬×îºóÒ»ÁÐÌåÏÖÀú³ÌËùÖ´ÐгÌÐòµÄÏêϸλÖá£[shang@localhost ~]$ ps -ef|grep sshdroot 1829 1 0 May24 ? 00:00:00 /usr/sbin/sshdshang 24166 24100 0 20:17 pts/2 00:00:00 grep sshd[shang@localhost ~]$ ɱµôÀú³ÌÏÂÁkillµ±ÏµÍ³ÖÐÓÐÀú³Ì½øÈëËÀÑ»·£¬»òÕßÐèÒª±»¹Ø±Õʱ£¬ÎÒÃÇ¿ÉÒÔʹÓà kill ÏÂÁî¶ÔÆä¹Ø±Õ¡£kill -9 [PID] PID Ϊ Linux ²Ù×÷ϵͳÖÐÀú³ÌµÄ±êʶLinux ÆäËû³£ÓÃÏÂÁî´óÈ«ÇåÆÁÏÂÁclearÅÌÎÊÏÂÁîÏêϸ²ÎÊýÏÂÁman¹ÒÔØÏÂÁmntÔ¶³ÌÅþÁ¬Ð§ÀÍ SSH Ïà¹ØÏÂÁÆô¶¯ SSH ЧÀÍÏÂÁservice sshd start
µÇ¼ºó¸´ÖÆ
service sshd restart
µÇ¼ºó¸´ÖÆ
service sshd stop
µÇ¼ºó¸´ÖÆ
Linux ´ó´ó¶¼ÇéÐÎ϶¼ÊÇÔ¶³ÌЧÀÍÆ÷£¬¿ª·¢Õßͨ¹ýÔ¶³Ì¹¤¾ßÅþÁ¬ Linux £¬Æô¶¯ÁËij¸öÏîÄ¿µÄ JAR£¬Ò»µ©´°¿Ú¹Ø±Õ£¬JAR Ò²¾Í×èÖ¹ÔËÐÐÁË£¬Òò´ËÒ»Ñùƽ³£Í¨¹ýÈçÏÂÏÂÁîÆô¶¯ JAR£ºnohup java -jar jar-0.0.1-SNAPSHOT.jar &
ÕâÀï¶àÁË nohup £¬ÌåÏÖÄ¿½ñ´°¿Ú¹Ø±ÕʱЧÀͲ»¹ÒÆ𣬼ÌÐøÔÚºǫ́ÔËÐÐ
Linux ϵͳÈí¼þ×°ÖÃ
³£ÓÃÈí¼þ×°ÖÃ
Linux ϳ£ÓõÄÈí¼þ×°Ö÷½·¨ÓÐ3ÖÖ¡£
tar
µÇ¼ºó¸´ÖÆ
tar [Ñ¡Ïî] [ѹËõ°ü]
µÇ¼ºó¸´ÖÆ
tar -zxvf [°üÃû]
µÇ¼ºó¸´ÖÆ
tar -jxvf [°üÃû]
µÇ¼ºó¸´ÖÆ
tar -xvf [°üÃû]
µÇ¼ºó¸´ÖÆ
×°ÖÃжÔØÏÂÁrpm
rpm [Ñ¡Ïî] [Èí¼þ°ü]
µÇ¼ºó¸´ÖÆ
rpm -qa|grep [Èí¼þ°üÒªº¦´Ê]
µÇ¼ºó¸´ÖÆ
rpm -e Èí¼þ°üÈ«Ãû
µÇ¼ºó¸´ÖÆ
rpm -ivh Èí¼þ°ü·¾¶
µÇ¼ºó¸´ÖÆ
ÒÔÉϾÍÊÇLinux ×î³£ÓÃÏÂÁÄܽâ¾ö 95% ÒÔÉϵÄÎÊÌ⣡µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡