MySQL
Linux
Centos
Ubuntu
PHP
Windows
CSS3
帳號登入
MySQL
Linux
Ubuntu
CentOS
PHP
Windows
CSS3
編碼的世界 / 優質文選 /
文明
Linux 拷貝文件
2021年9月26日
-
書箋
如果只有一個文件
cp [原文件所在路徑] [要拷貝到目錄下]
如:cp /home/test.php /home/index.php //把test.php 拷貝成 index.php
如果是文件夾及其文件
cp -r [原文件夾路徑] [要拷貝到的路徑]
如: cp -r /home/lopo/ /home/web/
熱門文章