subdirectory
A directory inside another directory.
In more detail
Directories nest to any depth and form a tree. Options such as -r and -R, find, and the ** glob with globstar all reach into subdirectories.
Related terms
- recursive option — A command option, usually -r or -R, that makes the command act on a directory and everything inside it, all the way down.
- find command — The find command, which walks a directory tree and prints, or acts on, every entry that passes its tests.
- globstar — A bash 4 option that makes a double star in a glob match files at any depth of subdirectories.
Taught in
- Which Shell Am I In, And Getting Bash Five — Bash Scripting & Command Line Automation
- Finding Lines: grep And Regular Expressions — Bash Scripting & Command Line Automation
- find And xargs — Bash Scripting & Command Line Automation
- ansible.cfg: Which File Wins, And The Settings That Matter — RHCE in Ansible (EX294): Automate Red Hat Systems