The find command is used to search for files and directories that match certain criteria. The - -type option specifies the type of file to look for, and the d argument means directories. The . argument means the current directory. Therefore, the command find - -type d searches for all directories within the current directory. The other options are either invalid or do not match the question. References: 1: https://www.comptia.org/training/books/a-core-1-220-1101-study-guide, page 301 2: https://www.howtogeek.com/771399/how-to-use-the-find-command-in-linux/, section “The Linux find Command”
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit