In my .bashrc, I want to put something like this.
alias lst='ls &'
So that I can do something like this.
$ lst /tmp
which will be translated into
$ ls /tmp &
How can I do the above?
bashrc
In my .bashrc, I want to put something like this.
alias lst='ls &'
So that I can do something like this.
$ lst /tmp
which will be translated into
$ ls /tmp &
How can I do the above?
Best Answer
Use a function instead.