title: Alias with variable in bash
body: <p>I want to create an alias in <code>bash</code> like this: </p>
  
  <pre><code>alias tail_ls="ls -l $1 | tail"
  </code></pre>
  
  <p>Thus, if somebody types:</p>
  
  <pre><code>tail_ls /etc/ 
  </code></pre>
  
  <p>it will only show the last 10 files in the directory.</p>
  
  <p>But <code>$1</code> does not seem to work for me. Is there any way I can introduce variables in bash.</p>