* means all files and directories including files in sub directories./ means in root directoryls */ brings files in sub directories in current directory (not includes files in current directory)ls -d list directory entries instead of contents. My directory full of files and sub directories. Why in my case this brings only ./ ?By adding all together I have ls */ -d. It brings all directories in current directory. What is logic of this combination? If I take separate parts of this command listed it not brings such result.
Understanding ls */ -d
directory;ls;wildcards