How to copy files and directories using Linux cp command?

You can copy files and directories using cp command. You need to provide the full or relative path of the files/directories of source and destination. In order to copy directories you need to use cp -R or -r or –recursive which copies directories recursively.

Leave a Reply