title: What is the difference between 'mv' and 'cp' if you want to move a file?
body: <p>If you want to move a file from one directory you can use both the commands: <code>mv</code> as well as <code>cp</code> to do so. But what is the difference and when should you choose which one?</p>
  
  <p>I checked:<a href="https://stackoverflow.com/questions/26909390/difference-between-cp-and-mv-force-overwrite">this</a> question, but it's concerned with forcing a command rather than the actual difference. </p>