Skip to content

Linux cp command purpose explained

Question

What is the purpose of the 'cp' command in Linux?

Answer

The 'cp' command in Linux is used to copy files and directories from one location to another. It allows users to duplicate files while preserving their original attributes.