HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Use cp Command To copy files and folders In Linux Or Ubuntu Step By Step Tutorial

92,186 views November 10, 2011 2:22

Watch on YouTube
ChannelMayank Agarwal

Description from the creator

How To Use cp Command To copy files and folders In Linux Or Ubuntu Step By Step Tutorial

Simple Copy

$ cp file1 file2


Copy file1 to file2 preserving the mode, ownership and timestamp.
$ cp -p file1 file2


Copy file1 to file2. if file2 exists prompt for confirmation before overwritting it.

$ cp -i file1 file2


Folder

$cp -r folder1 folder2

About this tutorial

Mayank Agarwal published this 2:22 video tutorial on November 10, 2011. It has been watched 92,186 times on YouTube.

Duration
2:22
Published
November 10, 2011
Views
92,186
Likes
224

Tags

Share

This tutorial in other languages