I have a quick doubt on ls utility
Kindly clarify the same
please let me know the difference between ls -ld and ls -lrt | grep '^d'
ls -ld also shows directory but weird output.
ls -lrt | grep '^d' shows actual output.
what ls -ld actually does?
Thanks in advance,