I want to list all directories hidden or not hidden.
ls -ld */ => shows only not hidden directories
so i guess the answer would be to add the a option to show all files
ls -lad */ => not working
ls -la | grep "^d" => works
But I would like to know why I can't use
ls -lad */
Please explain
Moderator's Comments:
|
|
Please use code tags next time for your code and data.
|
|