Linux常用命令: 查找復(fù)制移動(dòng)

放心~被指到的人一定能學(xué)會(huì)的~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~?
find
在指定位置查找文件目錄
which
定位應(yīng)用程序
cp
復(fù)制文件和目錄
mv
移動(dòng)和重命名文件目錄
scp
在兩個(gè)主機(jī)之間基于SSH進(jìn)行文件安全復(fù)制
?
1. find
Find files or directories under the given directory tree, recursively.
在指定位置查找文件目錄
??Find files by extension(指定目錄模糊匹配文件名):
??Find files by matching multiple patterns(多條件匹配, 邏輯關(guān)系):
??Find directories matching a given name, in case-insensitive mode(忽略大小寫(xiě)查找目錄):
??Find files matching a given size range(搜索指定大小范圍的文件):
??Find files modified in the last 7 days, and delete them(找到最近7天修改的文件刪除):
??Run a command for each file (use?{}?within the command to access the filename)(對(duì)每個(gè)找到的文件執(zhí)行命令, 后面的{}用于獲取文件名-exec 命令 \;):
??Find files matching a given pattern, excluding specific paths(查找文件,排除指定目錄路徑):
2. which
Locate a program in the user's path.
定位應(yīng)用程序
??If there are multiple executables which match, display all(顯示所有):
3. cp
Copy files and directories.
復(fù)制文件和目錄
??Copy a file to another location(復(fù)制文件到其他位置,可重命名):
??Copy a file into another directory, keeping the filename(復(fù)制文件到其他目錄, 不重命名):
??Recursively copy a directory's contents to another location (if the destination exists, the directory is copied inside it)(復(fù)制目錄內(nèi)容到另一個(gè)位置,如果目標(biāo)位置存在復(fù)制到中):
??Copy a directory recursively, in verbose mode (shows files as they are copied)(復(fù)制目錄顯示復(fù)制過(guò)程):
??Copy text files to another location, in interactive mode (prompts user before overwriting)(復(fù)制文件到其他位置,如果發(fā)生覆蓋會(huì)提示):
??Dereference symbolic links before copying(間接引用軟連接(軟連接復(fù)制為新文件)):
4. mv
Move or rename files and directories.
移動(dòng)和重命名文件目錄
??Move files in arbitrary locations(移動(dòng)文件到任意路徑):
??Do not prompt for confirmation before overwriting existing files(忽略覆蓋提示信息):
??Prompt for confirmation before overwriting existing files, regardless of file permissions(覆蓋提示):
??Do not overwrite existing files at the target(移動(dòng)不覆蓋):
??Move files in verbose mode, showing files after they are moved(顯示移動(dòng)過(guò)程):
5. scp
Secure copy.
Copy files between hosts using Secure Copy Protocol over SSH.
在兩個(gè)主機(jī)之間基于SSH進(jìn)行文件安全復(fù)制
??Copy a local file to a remote host(復(fù)制本地文件到遠(yuǎn)程主機(jī)位置):
??Copy a file from a remote host to a local directory:(復(fù)制遠(yuǎn)程主機(jī)文件到本地)
??Recursively copy the contents of a directory from a remote host to a local directory(復(fù)制遠(yuǎn)程主機(jī)目錄到本地):
??Copy a file between two remote hosts transferring through the local host([通過(guò)本地主機(jī)]在兩個(gè)遠(yuǎn)程主機(jī)之間拷貝文件):
??Use a specific username when connecting to the remote host(連接遠(yuǎn)程服務(wù)器時(shí)指定用戶名):
??Use a specific ssh private key for authentication with the remote host(通過(guò)私鑰進(jìn)行遠(yuǎn)程連接):
?

自學(xué)筆記~
如果有錯(cuò)~
期待大佬指出~
感謝幫助提升~?