title: setting a default command for bash
body: <p>Suppose I create my own script and I want that script to be the default command to be executed if command is not found, how do I go about configuring bash to make this happen</p>
  
  <p>Eg. the command is called defCMD</p>
  
  <p>Suppose I type some random string into the command line:</p>
  
  <pre><code>$ viosjaldfksajflsfa
  </code></pre>
  
  <p>Normally it would output 'viosjaldfksajflsfa not found'</p>
  
  <p>However, instead of that happening I want 'viosjaldfksajflsfa' to be fed as parameter into the defCMD script I wrote and therefore have bash execute defCMD instead. </p>
  
  <p>is there a way to make this happen? </p>