Linux touch command

touch 文件名.格式,也可以创建多个文件
touch hello.txt
touch h1.txt h2.txt
把文件夹复制到某文件夹中
cp 文件名.格式 文件夹
cp aa.txt bb/
把文件夹复制到某文件夹中
cp -r 文件夹a 文件夹b
cp -r test/ zwj/
强制覆盖
\cp -r test/ zwj/
Published 48 original articles · Likes0 · Visits 282

Guess you like

Origin blog.csdn.net/qq_44971387/article/details/105310272