A. linux寮哄埗阃鍑哄懡浠よ宭inux寮哄埗阃鍑哄懡浠
linux鐢ㄦ埛阃鍑烘庝箞锻戒护锛
鐢ㄦ埛阃鍑虹橱褰旷殑鏂规硶链変互涓嬩笁绉嶏细
1銆佸湪shell鎻愮ず绗︿笅杈揿叆exit鎸夊洖杞︾‘璁
2銆佸湪shell鎻愮ず绗︿笅杈揿叆logout鎸夊洖杞︾‘璁
3銆佹寜蹇鎹烽敭crtl+d锛堟ゆ柟娉曞悓logout鏁堟灉锛
linux阃鍑虹紪杈戠殑锻戒护锛
Linux绯荤粺浣跨敤vi缂栬緫鍣ㄨ繘琛屾枃链缂栬緫锛堜綔鐢ㄥ悓vim锛夛纴濡傛灉瑕侀鍑虹紪杈戯纸蹇呴’瑕佹寜Esc阃鍑轰慨鏀归桩娈碉级锛屽垯鍙浠ワ细
1銆佷缭瀛树笉阃鍑猴细
:w淇濆瓨鏂囦欢浣嗕笉阃鍑簐i缂栬緫
:w!寮哄埗淇濆瓨锛屼笉阃鍑簐i缂栬緫
:wfile灏嗕慨鏀瑰彟瀛桦埌file涓锛屼笉阃鍑簐i缂栬緫
2.淇濆瓨骞堕鍑猴细
:wq淇濆瓨鏂囦欢骞堕鍑簐i缂栬緫
:wq!寮哄埗淇濆瓨鏂囦欢骞堕鍑簐i缂栬緫
3.涓崭缭瀛桦苟阃鍑猴细
:q涓崭缭瀛樻枃浠跺苟阃鍑簐i缂栬緫
:q!涓崭缭瀛樻枃浠跺苟寮哄埗阃鍑簐i缂栬緫
:e!鏀惧纯镓链変慨鏀癸纴浠庝笂娆′缭瀛樻枃浠跺紑濮嫔湪缂栬緫
linux镄勬挙阌阌锛
鍦╲i涓鎸塽鍙浠ユ挙阌涓娆℃搷浣
u鎾ら攒涓娄竴姝ョ殑镎崭綔
Ctrl+r鎭㈠崭笂涓姝ヨ鎾ら攒镄勬搷浣
娉ㄦ剰锛
濡傛灉浣犺緭鍏モ涡钬濅袱娆★纴浣犵殑鏂囨湰鎭㈠嶅师镙凤纴闾e簲璇ユ槸浣犵殑Vim琚閰岖疆鍦╒i鍏煎规ā寮忎简銆
閲嶅仛
濡傛灉浣犳挙阌寰楀お澶氾纴浣犲彲浠ヨ緭鍏CTRL-R锛坮edo锛夊洖阃鍓崭竴涓锻戒护銆傛崲鍙ヨ瘽璇达纴瀹冩挙阌涓涓鎾ら攒銆傝佺湅镓ц岀殑渚嫔瓙锛岃緭鍏CTRL-R涓ゆ°傚瓧绗A鍜屽畠钖庨溃镄勭┖镙煎氨鍑虹幇浜嗭细
youngintelligentturtle
链変竴涓鐗规畩鐗堟湰镄勬挙阌锻戒护锛气淯钬濓纸琛屾挙阌锛夈傝屾挙阌锻戒护鎾ら攒镓链夊湪鍓崭竴涓缂栬緫琛
涓婄殑镎崭綔銆傝緭鍏ヨ繖浜涘懡浠や袱娆″彇娑埚墠涓涓钬淯钬濓细
Averyintelligentturtle
xxxx鍒犻櫎very
Aintelligentturtle
xxxxxx鍒犻櫎turtle
Aintelligent
鐢ㄢ淯钬濇仮澶嶈
Averyintelligentturtle
鐢ㄢ涡钬濇挙阌钬淯钬
Aintelligent
钬淯钬濆懡浠よ嚜宸辨敼鍙樿嚜宸憋纴钬涡钬濆懡浠ゆ挙阌镎崭綔锛孋TRL-R锻戒护閲嶅仛镎崭綔銆傝繖链夌偣涔憋纴浣嗕笉鐢
𨰾呭绩锛岀敤钬涡钬濆拰CTRL-R锻戒护浣犲彲浠ュ垏鎹㈠埌浠讳綍鐘舵併
娴佽岀殑鏂囨湰缂栬緫鍣ㄩ氩父閮芥湁鍓嶈繘鍜屽悗阃锷熻兘锛屽彲浠ュ湪鏂囦欢涓镟剧粡娴忚堣繃镄勪綅缃涔嬮棿𨱒ュ洖绉诲姩銆傚湪vim涓浣跨敤Ctrl-O镓ц屽悗阃锛屼娇鐢–trl-I镓ц屽墠杩涖
kalilinux镐庝箞阃鍑猴纻
鎴戝紑濮嬩篃鏄杩欐牱镄勭幇鍦ㄨВ鍐充简1銆佸彸阌搴曢儴浠诲姟镙忥纴阃夋嫨闱㈡澘-闱㈡澘棣栭夐”鎶娾滈挛瀹氶溃𨱒库濆彇娑堬纴杩欐牱灏卞彲浠ョ敤榧犳爣鎶娄换锷℃爮璋冨埌涓婇溃铡讳简銆2銆佸叧浜庨挛瀹氭寜阍鍜屾敞阌鎸夐挳娌′简镄勯梾棰樸傚湪闱㈡澘棣栭夐”閲岄溃鍒囨崲鍒扳滈”鐩钬濋夐”鍗★纴链钖庡姞鍏1涓钬滃垎闅旂︹濆拰涓涓钬滃姩浣沧寜阍钬3銆佸彸阌镣瑰嚭鐜扮殑锷ㄤ綔鎸夐挳锛岄夋嫨钬滃睘镐р濓纴鎶婂栬备粠钬滀细璇濊彍鍗曗濇敼鎴悫滃姩浣沧寜阍钬濓纴涓嬮溃锷ㄤ綔閲屽彧鐣欎笅钬滈挛瀹气濆拰钬沧敞阌钬濅袱涓锷ㄤ綔璺熷师𨱒ョ殑鍒濆嬬晫闱㈠氨涓镙蜂简鐜板湪鍐崭娇鐢╧ali-undercover鍒囨崲灏变笉浼氭湁闂棰树简