copy a file in terminal code example
Example 1: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
Example 2: ubuntu copy
cp origin destin
#example
cp /home/me/test.zip /home/me/destin/
Example 3: how to copy file in ubuntu terminal
cp ~/Downloads/your-file.txt ~/Documents/
Example 4: copy content file from terminal
pbcopy < ~/.ssh/id_rsa.pub