Turning off cp (copy) command's interactive mode (cp : overwrite ?)
Solution 1:
Execute:
alias cp
To see if cp
has been aliased to cp -i
In that case run:
\cp -r /usr/share/drupal-update/* /usr/share/drupal
to ignore the alias
Solution 2:
cp -f will not ask for confirmation (that's force) So do
cp -fr /usr/share/drupal-update/* /usr/share/drupal