title: Copy and overwrite a file in shell script
body: <p>I want to copy a certain file to a location, irrespective of that file already exists in the destination or not. I'm trying to copy through shell script.But the file is not getting copied. I'm using the following command</p>
  
  <p><code>/bin/cp -rf /source/file /destination</code></p>
  
  <p>but that doesn't work.</p>