Easy Tips: How to copy files from the terminal
Starting today we will be having easy tips to our “How To” category. Easy tips that are very useful/helpful to daily tasks.
Now to copy files from terminal, open terminal
Then on the command prompt follow this syntax:
cp [OPTION]… SOURCE DEST
cp [OPTION]… SOURCE… DIRECTORY
cp [OPTION]… –target-directory=DIRECTORY SOURCE…
#cp <filename> <destination>
# cp myfile.txt /tmp
#cp myfile.txt /var/log/myfile.txt
or you can check this site for complete reference: http://www.computerhope.com/unix/ucp.htm



0 comments
Kick things off by filling out the form below.
Leave a Comment