Skip to content

Commit 4ea1a2b

Browse files
authored
Merge pull request #1 from Kashinggo/master
Fix a typo in `cp`
2 parents 1f01137 + 63af9ae commit 4ea1a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Basic/LinuxShell/Filemanagement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ cd ../.. //表示切换到 上上级目录。
4747
> 可以使用 cp --help去查看官方说明。将指定的<源文件>复制至<目标文件>,或将多个<源文件>复制至<目标目录>。
4848
4949
``` bash
50-
cp -r DIR1 DIR1 //复制DIR1目录到DIR2目录
50+
cp -r DIR1 DIR2 //复制DIR1目录到DIR2目录
5151
cp file1 file2 //复制file1文件到file2
5252
cp -d link DIR //复制一个链接文件到DIR目录内
5353
cp -p file1 file3 //复制file1文件及所有属性到file3

0 commit comments

Comments
 (0)