Software >> OS >> Unix >> Linux >> Commands >> cp >> How to disable prompting when performing copy to existing file

Most likely there is an alias as follows

# alias cp
alias cp='cp -i'

i.e. cp command will always run as cp -i (interactive, hence the prompting)

Remove the alias for the current shell and then proceed

# unalias cp