³£¼ûµÄlinuxÏÂÁîÓÐÄÄЩ
linux Öг£¼ûµÄÏÂÁî»ù±¾°üÀ¨ÒÔÏÂÀàÐÍ£ºÎļþϵͳµ¼º½£ºcd£¬ls£¬pwd£¬mkdir£¬rmdirÎļþÖÎÀí£ºtouch£¬cat£¬more£¬less£¬rm£¬mvÎı¾´¦Öóͷ££ºgrep£¬sed£¬awk£¬sortÀú³ÌÖÎÀí£ºps£¬kill£¬topÍøÂçÖÎÀí£ºping£¬traceroute£¬netstat£¬curlÓû§ÖÎÀí£ºuseradd£¬usermod£¬userdelϵͳÖÎÀí£ºreboot£¬shutdown£¬df£¬du
³£¼ûµÄ Linux ÏÂÁî
Linux ÊÇÒ»¸ö¹¦Ð§Ç¿Ê¢µÄ²Ù×÷ϵͳ£¬ÓµÓи»ºñµÄÏÂÁîÐй¤¾ß£¬¿ÉÒÔÖ´ÐÐÆÕ±éµÄʹÃü¡£ÏàʶÕâЩÏÂÁîºÜÊÇÖ÷Òª£¬ÒÔ±ãÓÐÓõØÔÚ Linux ÇéÐÎÖÐÊÂÇé¡£
Îļþϵͳµ¼º½
- cd£º¸ü¸ÄĿ¼
- ls£ºÁгöĿ¼ÖеÄÎļþºÍĿ¼
- pwd£º´òÓ¡Ä¿½ñÊÂÇéĿ¼
- mkdir£º½¨ÉèĿ¼
- rmdir£ºÉ¾³ý¿ÕĿ¼
ÎļþÖÎÀí
- touch£º½¨ÉèÐÂÎļþ
- cat£ºÏÔʾÎļþÄÚÈÝ
- more£ºÖðÒ³ÏÔʾÎļþÄÚÈÝ
- less£º±È more ¸ü¸ß¼¶µÄ·ÖÒ³³ÌÐò
- rm£ºÉ¾³ýÎļþ
- mv£ºÒƶ¯»òÖØÃüÃûÎļþ
Îı¾´¦Öóͷ£
- grep£ºËÑË÷Îı¾ÎļþÖеÄģʽ
- sed£ºÁ÷±à¼Æ÷£¬ÓÃÓÚÎı¾²éÕÒºÍÌæ»»
- awk£ºÄ£Ê½É¨ÃèºÍ´¦Öóͷ£ÓïÑÔ
- sort£º¶ÔÎı¾Îļþ¾ÙÐÐÅÅÐò
Àú³ÌÖÎÀí
- ps£ºÁгöÕýÔÚÔËÐеÄÀú³Ì
- kill£ºÖÕÖ¹Àú³Ì
- top£ºÊµÊ±ÏÔʾϵͳÀú³ÌÐÅÏ¢
ÍøÂçÖÎÀí
- ping£º²âÊÔÍøÂçÅþÁ¬
- traceroute£ºÏÔʾµ½Ô¶³ÌÖ÷»úµÄ·ÓÉ
- netstat£ºÏÔʾÍøÂçͳ¼ÆÐÅÏ¢
- curl£ºÓÃÓÚ´Ó URL »ñÈ¡Êý¾ÝµÄÏÂÁîÐй¤¾ß
Óû§ÖÎÀí
- useradd£º½¨ÉèÐÂÓû§
- usermod£ºÐÞ¸ÄÓû§ÊôÐÔ
- userdel£ºÉ¾³ýÓû§
ϵͳÖÎÀí
- reboot£ºÖØÐÂÆô¶¯ÏµÍ³
- shutdown£º¹Ø±Õϵͳ
- df£ºÏÔʾ´ÅÅÌʹÓÃÇéÐÎ
- du£ºÏÔʾÎļþºÍĿ¼µÄ¾Þϸ
ÒÔÉϾÍÊdz£¼ûµÄlinuxÏÂÁîÓÐÄÄЩµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡
ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿Ê±ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿Ê±ÊµÊ±ÐÞÕý»òɾ³ý¡£