Asking LS for a list of directories only
How do I ask LS to list only the directories in my current directory or in a specified directory?
Also how do I ask LS to list only the files (not the directories)?
Also how do I ask LS to list only the files beginning with a period (.) ? Using backslash as in
ls \.* does not work. Evidently the backslash does not quote the period as bash documentation says it will.