From 0252b6ac4e41f54621da90991bb40a2500f39ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E6=96=AF?= <105703029@nccu.edu.tw> Date: Fri, 4 Jan 2019 01:54:13 +0800 Subject: [PATCH] add rename instruction (#24920) --- guide/chinese/bash/bash-mv/index.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/guide/chinese/bash/bash-mv/index.md b/guide/chinese/bash/bash-mv/index.md index 2ce1b26382..3744423a73 100644 --- a/guide/chinese/bash/bash-mv/index.md +++ b/guide/chinese/bash/bash-mv/index.md @@ -12,6 +12,13 @@ mv source target 第一个参数是要移动的文件,第二个参数是将其移动到的位置。 +**更改档名。** +``` +mv old_name new_name +``` + +第一个参数是原来的名字,第二个参数是要改成的名字 + 常用选项: * `-f`强制移动它们并覆盖文件而不用与用户核对。 @@ -19,4 +26,4 @@ mv source target ### 更多信息: -* [维基百科](https://en.wikipedia.org/wiki/Mv) \ No newline at end of file +* [维基百科](https://en.wikipedia.org/wiki/Mv)