① 镆ョ湅鏂囦欢澶у皬linux锻戒护镆ョ湅鏂囦欢澶у皬linux
linux镆ョ湅jar澶у皬锛
linux涓鍙浠ラ氲繃缁堢痩s鎸囦护𨱒ユ煡璇㈡枃浠剁殑澶у皬锛屽寘𨰾琷ar鍖呭ぇ灏忋
ls锷熻兘寮哄ぇ锛岄厤钖堜笉钖岀殑鍙傛暟鍙浠ヨ緭鍑哄拰镙煎纺鍖栫粨鏋滐纴镆ヨ㈠ぇ灏忕殑鎸囦护涓:ls-l
杩桦彲浠ヤ娇鐢-h鍙傛暟镙煎纺鍖栬緭鍑:ls-lh
linux濡备綍镆ョ湅纭鐩桦ぇ灏忥纻
linux涓嬫煡鐪嬬‖鐩桦ぇ灏忕殑锻戒护锛
1銆佹煡鐪嫔綋鍓嶆枃浠跺す涓嬫墍链夋枃浠跺ぇ灏忥纸鍖呮嫭瀛愭枃浠跺す锛
2銆佹煡鐪嬫寚瀹氭枃浠跺す涓嬫墍链夋枃浠跺ぇ灏忥纸鍖呮嫭瀛愭枃浠跺す锛
3銆佹煡鐪嬫寚瀹氭枃浠跺ぇ灏
4銆佹煡鐪嬫寚瀹氭枃浠跺す澶у皬
浜屻
Ubuntu镆ョ湅纾佺洏绌洪棿澶у皬锻戒护
df-hDf锻戒护鏄痩inux绯荤粺浠ョ佺洏鍒嗗尯涓哄崟浣嶆煡鐪嬫枃浠剁郴缁燂纴鍙浠ュ姞涓婂弬鏁版煡鐪嬬佺洏鍓╀綑绌洪棿淇℃伅锛屽懡浠ゆ牸寮忥细df-hl鏄剧ず镙煎纺涓猴细鏂囦欢绯荤粺瀹归噺宸茬敤鍙鐢ㄥ凡鐢%鎸傝浇镣笷ilesystemSizeUsedAvailUse%Mountedon/dev/hda245G19G24G44%//dev/hda1494
Linux镎崭綔绯荤粺鏄锘轰簬UNIX镎崭綔绯荤粺鍙戝𪾢钥屾潵镄勪竴绉嶅厠闅嗙郴缁燂纴瀹冭癁鐢熶簬1991骞寸殑10链5镞ワ纸杩欐槸绗涓娆℃e纺钖戝栧叕甯幂殑镞堕棿锛夈备互钖庡熷姪浜嶪nternet缃戠粶锛屽苟阃氲繃鍏ㄤ笘鐣屽悇鍦拌$畻链虹埍濂借呯殑鍏卞悓锷锷涳纴宸叉垚涓轰粖澶╀笘鐣屼笂浣跨敤链澶氱殑涓绉峌NIX绫绘搷浣灭郴缁燂纴骞朵笖浣跨敤浜烘暟杩桦湪杩呯寷澧为暱銆
linux濡备綍镆ョ湅鏂囦欢鍐呭癸纻
linux镆ョ湅镞ュ织鏂囦欢鍐呭瑰懡浠ゆ湁浠ヤ笅锛
cat鐢辩涓琛屽紑濮嬫樉绀烘枃浠跺唴瀹癸绂
tac浠庢渶钖庝竴琛屽紑濮嬫樉绀猴纴鍙浠ョ湅鍑篓ac鏄痗at镄勫掔潃鍐欙绂
nl鏄剧ず镄勬椂鍊欙纴椤洪亾杈揿嚭琛屽彿锛
more涓椤典竴椤电殑鏄剧ず鏂囦欢鍐呭癸绂
less涓巑ore绫讳技锛屼絾鏄姣攎ore镟村ソ镄勬槸锛屼粬鍙浠ュ线鍓岖炕椤碉紒
head鍙鐪嫔ご鍑犺岋绂
tail鍙鐪嫔熬宸村嚑琛岋绂
浣犲彲浠ヤ娇鐢╩an𨱒ユ煡鐪嫔悇涓锻戒护镄勪娇鐢ㄦ枃妗o纴濡傦细mancp銆
linux镙圭洰褰曟弧浜嗭纴镐庢牱蹇阃熸煡鐪嬫槸鍝涓鏂囦欢鍗犵敤绌洪棿澶э纻
linux镆ョ湅镙圭洰褰曚笅镓链夋枃浠跺す澶у皬镄勬柟娉曞备笅锛
1銆佽繘鍏ユ牴鐩褰曪细cd/
2銆佷娇鐢ㄥ懡浠わ细-sh*镆ョ湅镙圭洰褰曚笅姣忎釜鏂囦欢澶圭殑澶у皬
3銆佽繘鍏ュ崰鐢ㄧ┖闂存瘆杈冨ぇ镄勬枃浠跺す锛岀劧钖庡啀浣跨敤2涓锻戒护镆ユ垒澶ф枃浠躲
linux涓镐庝箞镆ョ湅纭鐩桦墿浣欑┖闂达纻
Ubuntu镆ョ湅纾佺洏绌洪棿澶у皬锻戒护df-hDf锻戒护鏄痩inux绯荤粺浠ョ佺洏鍒嗗尯涓哄崟浣嶆煡鐪嬫枃浠剁郴缁燂纴鍙浠ュ姞涓婂弬鏁版煡鐪嬬佺洏鍓╀綑绌洪棿淇℃伅锛屽懡浠ゆ牸寮忥细df-hl鏄剧ず镙煎纺涓猴细鏂囦欢绯荤粺瀹归噺宸茬敤鍙鐢ㄥ凡鐢%鎸傝浇镣笷ilesystemSizeUsedAvailUse%Mountedon/dev/hda245G19G24G44%//dev/hda1494df-hDf锻戒护鏄痩inux绯荤粺浠ョ佺洏鍒嗗尯涓哄崟浣嶆煡鐪嬫枃浠剁郴缁燂纴鍙浠ュ姞涓婂弬鏁版煡鐪嬬佺洏鍓╀綑绌洪棿淇℃伅锛屽懡浠ゆ牸寮忥细df-hl鏄剧ず镙煎纺涓猴细鏂囦欢绯荤粺瀹归噺宸茬敤鍙鐢ㄥ凡鐢%鎸傝浇镣笷ilesystemSizeUsedAvailUse%Mountedon/dev/hda245G19G24G44%//dev/hda1494M19M450M4%/boot/dev/hda64.9G2.2G2.5G47%/home/dev/hda59.7G2.9G6.4G31%/optnone1009M01009M0%/dev/shm/dev/hda39.7G7.2G2.1G78%/usr/local/dev/hdb275G75G0100%//dev/hdb275G75G0100%/浠ヤ笂闱㈢殑杈揿嚭涓轰緥锛岃〃绀虹殑镒忔濅负锛欻D纭鐩樻帴鍙g殑绗浜屼釜纭鐩桡纸b锛夛纴绗浜屼釜鍒嗗尯锛2锛夛纴瀹归噺鏄75G锛岀敤浜75G锛屽彲鐢ㄦ槸0锛屽洜姝ゅ埄鐢ㄧ巼鏄100%锛岃鎸傝浇鍒版牴鍒嗗尯鐩褰曚笂锛/锛夈备笅闱㈡槸鐩稿叧锻戒护镄勮В閲婏细df-hl镆ョ湅纾佺洏鍓╀綑绌洪棿df-h镆ョ湅姣忎釜镙硅矾寰勭殑鍒嗗尯澶у皬-sh杩斿洖璇ョ洰褰旷殑澶у皬-sm杩斿洖璇ユ枃浠跺す镐籑鏁版洿澶氩姛鑳藉彲浠ヨ緭鍏ヤ竴涓嫔懡浠ゆ煡鐪嬶细df--help--help
② 鍦╨inux锛宎pache涓嬮氲繃HTTP POST涓轰粈涔堜笂浼犱笉浜2G镄勫ぇ鏂囦欢
杩欎釜涓鑸鏄鍦╬hp閰岖疆鏂囦欢闄愬埗浜
php.ini
upload_max_filesize = 2999M
post_max_size = 2999M
memory_limit = 2999M