copy and paste file in ubuntu terminal code example Example: how to copy file in ubuntu terminal cp ~/Downloads/your-file.txt ~/Documents/