Does Linux cp command overwrite?

Đạt Michio

New member
Does Linux cp command overwrite?
Answer
By default, cp will overwrite files without asking. If the destination file name already exists, its data is destroyed. If you want to be prompted for confirmation before files are overwritten, use the -i (interactive) option.
 

Tìm kiếm

Back
Top