cp (Copy) is a command used for copying files and directories in Linux.
To copy a file with the cp command pass the name of the file to be copied and then the destination.
For example, by running the below-mentioned command will copy a file background.jpg to a Pictures/ directory.
cp background.jpeg Pictures/
If you want to copy the file under a different name, you need to specify the desired file name.
cp background.jpeg new-logo.jpeg
To copy multiple files, pass the names of files followed by the destination directory to the cp command.
cp new-logo.jpeg thisfile.txt ~/Documents/
To copy a directory, including all its files and subdirectories, use the -r (recursive) option.
For example, we are copying the directory Documents to Docs_bckp.
cp -r Documents/ Docs_bckp/
VAL utilises the following open source software.
GIMP for thumbnail.
Openshot for video editing.
Mimic for speech.
Kazam for screen recording.
Terminology for terminal emulator.
Featherpad for text editor.
Midnight Commander for managing files.
MX Linux operating system.
Watch video How Do You Use the Copy Command in the Linux Terminal? online without registration, duration hours minute second in high quality. This video was added by user Virtual Assistant for Linux 21 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 49 once and liked it 1 people.