複製單個檔案
將 foo.txt
從/path/to/source/
複製到/path/to/target/folder/
cp /path/to/source/foo.txt /path/to/target/folder/
將 foo.txt
從/path/to/source/
複製到/path/to/target/folder/
到一個名為 bar.txt
的檔案中
cp /path/to/source/foo.txt /path/to/target/folder/bar.txt