Linux Copy a Directory to Other Dictionary – Linux Tutorial

By | November 21, 2022

In this tutorial, we will introduce you how to copy a directory to other directory in linux. It is easy to do. We can use command below:

cp -r sr_directory dest_directory

This command will copy sr_directory to dest_directory.

We will use an example to show you how to do.

Look at this example:

cp yuzhilun /app/yuzhilun

We will see:

copy a directory in linux