
Copying files and directories in the Linux terminal is really efficient and straightforward once you know how to do it. It’s useful when we need to manage our files and directories without the need for a GUI, for example in a BASH script. We can do this whether we are at our desk or if we are accessing a machine remotely via SSH.
In this how-to we’ll look at the cp command which copies files and directories. We’ll look at some arguments that we can add to get the most out of this command.