I have the following command which works:
ls -la | awk '$5 > 2'
I'm trying to alias the entire thing. If I try a naive way:
alias ll "ls -la | awk '$5 > 2'"
It doesn't work.
If I try to escape the dollar sign, I get only a part of the command and ll
is now ls -la | awk $5
What should I do in order to define this alias the way I want it to be?