Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

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

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]