find command also return directory names?

Shell
find . -type d -o -type f
Source

Also in Shell: