Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
A very common command-line need is to locate all the files within a directory and all its subdirectories with a certain attribute and run some command on them. For instance, let’s say I wanted to move all files that end in .txt within my current directory and all the directories below it into the ~/Documents directory. If you wanted to just list all of the files, you would run the following find command:
$ find ./ -name "*.txt"