title: How to create bash alias with argument?
body: <p>I normally use <code>ps -elf | grep proceesname</code> to get a detailed description of the process named <code>processname</code>. I think that I have to write too much for this.</p>
  
  <p>Now what i was thinking is to create a bash alias like </p>
  
  <pre><code>alias lsps='ps -elf | grep $1'
  </code></pre>
  
  <p>which will give the above detailed description only by using <code>lsps processname</code>.</p>
  
  <p>So, my question is how do I create a bash alias which accepts an argument.</p>
  
  <p>PS: I know I can write a shell script for the above task but I was just wondering how to do it with bash alias.</p>