how to copy and move a file in terminal code example
Example 1: ubuntu terminal how to copy and move file
cp ~/Downloads/your-file.txt ~/Documents/new-name.txt
Example 2: ubuntu terminal how to copy and move file
cp your-file.txt ~/Documents/
cp ~/Downloads/your-file.txt ~/Documents/new-name.txt
cp your-file.txt ~/Documents/