最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

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

2023-03-06 21:32 作者:石城城  | 我要投稿

放心~被指到的人一定能學(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ò)~

期待大佬指出~

感謝幫助提升~?


Linux常用命令: 查找復(fù)制移動(dòng)的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
沧州市| 葫芦岛市| 韶关市| 萍乡市| 阿图什市| 太仓市| 蚌埠市| 莫力| 宜春市| 常熟市| 黎城县| 宁津县| 嵩明县| 西吉县| 荔浦县| 乌拉特前旗| 榆中县| 连州市| 北京市| 随州市| 南岸区| 荆门市| 瓦房店市| 石楼县| 天津市| 扎鲁特旗| 化德县| 竹北市| 安远县| 云浮市| 红桥区| 星子县| 九江县| 河池市| 陇南市| 大连市| 贡山| 岑巩县| 子长县| 阿拉善右旗| 信丰县|