How To Recursively Search Directory Names In Linux
Everything in Linux is stored in directories, and when writing bash scripts, it’s often useful to search for directories by name. Luckily, you can use the find command to recursively search directory names and display matches. Searching Directories The find command is used to search through directories in Linux. By default, it’s fully recursive, so it will search through all sub-directories to find matches. If you use the -type d flag, find will operate in “directory mode,” and only search for directories, not matching any files....