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