Fix grep/ls aliasing for efficiency/correctness

Avoiding the use of echo, using builtins whereever possible