Question: how to copy data from one file to another file in unix?
Answer: To copy files from the command line, use the cp command. Because using the cp command will copy a file from one place to another, it requires two operands: first the source and then the destination. Keep in mind that when you copy files, you must have proper permissions to do so!