118
Linux cp -i
The cp ‘-i’ option allows you to confirm once before overwriting your file.
Syntax:
Example:
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