title: Linux: How to display message when running command?
body: <p>Is it possible to make the command line display a message when running a command? I have used shell scripts to intercept command names and display messages and then launch the command, but I was wondering if something more "native".</p>
  
  <p>Something like an if statement in the bashrc that says <strong>if xyzcommand then echo message and run xyz command.</strong></p>
  
  <p>As an example I'm thinking of something along the lines of user runs "xeyes" and a message appears that says "watching you". But NOT after the program has executed, it needs to display while program is running.</p>
  
  <pre><code>[user@computer bin]$ xeyes 
  watching you
  </code></pre>