How to suppress "Do you want to overwrite" prompt while using cp command
Hi,
How to suppress "Do you want to overwrite" prompt while using cp command. I tried "cp -fr", but it isn't worked. Anybody help please. Thank you. |
perhaps you have an alias set up by default? try typing "alias cp" in the shell and see what gets returned.
|
"\cp ..." will over-ride any alias if present.
|
cp isn't supposed to ask by default.
Your distro might have set up an alias that turns "cp" into "cp -i" to be safer. |
your cp is probably aliased to cp -i
try /bin/cp instead of just cp |
All times are GMT -5. The time now is 01:32 AM. |