-a列出包括.a開(kāi)頭的隱藏文件的所有文件
-A通-a,但不列出"."和".."
-l列出文件的詳細(xì)信息
-c根據(jù)ctime排序顯示
-t根據(jù)文件修改時(shí)間排序
re never to look at me during the day, we must always part by sunrise, and we can never say "i and when it is over i will send you a card that will simply say goodbye... those are the rules...。re never to look at me during the day, we must always part by sunrise, and we can never say “i and when it is over i will send you a card that will simply say goodbye… those are the rules…。for all those people in brazil, for all his fans all around the world, he will always be young. ayrton senna will always be fast. he will never be old. he will always be the champion of brazil and of the world. the grief, even today..., maybe the greatest statement i can make about what he did when i meet a brazilian soon after that i have t.........更多。
白色:表示普通文件
藍(lán)色:表示目錄
綠色:表示可執(zhí)行文件
紅色:表示壓縮文件
淺藍(lán)色:鏈接文件
紅色閃爍:表示鏈接的文件有問(wèn)題
黃色:表示設(shè)備文件
灰色:表示其它文件
2.mv [選項(xiàng)] 源文件或目錄 目錄或多個(gè)源文件 | 移動(dòng)或重命名文件
-b覆蓋前做備份
-f如存在不詢問(wèn)而強(qiáng)制覆蓋
-i如存在則詢問(wèn)是否覆蓋
-u較新才覆蓋
-t將多個(gè)源文件移動(dòng)到統(tǒng)一目錄下,目錄參數(shù)在前,文件參數(shù)在后
mva/tmp/將文件a移動(dòng)到/tmp目錄下
mvab將a命名為b
mv/home/zenghaotest1.txttest2.txttest3.txt
3.cp [選項(xiàng)] 源文件或目錄 目錄或多個(gè)源文件 | 將源文件復(fù)制至目標(biāo)文件,或?qū)⒍鄠(gè)源文件復(fù)制至目標(biāo)目錄。
-r-R遞歸復(fù)制該目錄及其子目錄內(nèi)容
-p連同檔案屬性一起復(fù)制過(guò)去
-f不詢問(wèn)而強(qiáng)制復(fù)制
-s生成快捷方式
-a將檔案的所有特性都一起復(fù)制
4.scp [參數(shù)] [原路徑] [目標(biāo)路徑] | 在Linux服務(wù)器之間復(fù)制文件和目錄
-v詳細(xì)顯示輸出的具體情況
-r遞歸復(fù)制整個(gè)目錄
(1)復(fù)制文件:
命令格式:
remote_ip= 。remote_ip 部署遠(yuǎn)程服務(wù)器ip。scp local_file remote_username@remote_ip:remote_folder11后臺(tái)執(zhí)行程序,并且重定向到日志文件:。
scplocal_fileremote_username@remote_ip:remote_file
scplocal_fileremote_ip:remote_folder
scplocal_fileremote_ip:remote_file