上傳文件、解壓文件到Linux服務器

zip 命令: zip test.zip test.txt 它會將 test.txt 文件壓縮爲 test.zip ,當然也可以指定壓縮包的目錄,例如 /root/test.zip unzip test.zip 它會默認將文件解壓到當前目錄,如果要解壓到指定目錄,可以加上 -d 選項 unzip test.zip -d /root/ 1、從服務器上下載文件 scp [email protected
相關文章
相關標籤/搜索