Javatpoint Logo
Javatpoint Logo

Linux cp -i

The cp '-i' option allows you to confirm once before overwriting your file.



Linux cp -i

As you can see, it is asking for permission to over write the file 'file3.txt' as this file already exists in the destination directory. Now, you can press y to overwrite file and n not to overwrite file.

Next TopicLinux cp -l

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA