7

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?

1 Answer 1

10

Use a function instead.

lst() { ls "$@" & }
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .