title: To set printf in alias
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10421436/variable-interpolation-in-bash-alias">variable interpolation in bash alias</a>  </p>
  </blockquote>
  
  
  
  <p>This command is used to set the title of my console in bash shell</p>
  
  <pre><code>    printf "\033]0;  my_console_title \007";
  </code></pre>
  
  <p>But I want use this command with alias and should accept the console title from user
  (having trouble with setting printf to alias variable).</p>
  
  <p>Something similar to :</p>
  
  <pre><code>alias fx="find . -type f | xargs grep -il $1"
  </code></pre>
  
  <p>Usage: <code>fx "search_text"</code></p>