Linux shell, how to use the exec option in find with examples
Sep 24, 2012, 19:13 (0 Talkback[s])
(Other stories by Linuxaria)
In a former article I've written about the command locate, an useful command to find quickly a file in your computer. An alternative to locate is the command find : GNU find searches the directory tree rooted at each given file name by evaluating the given expression from left to right, according to the rules of precedence, until the outcome is known (the left hand side is false for and operations, true for or), at which point find use the defined action and moves on to the next file name. find can use many options to compose an expression and as standard action it print in the standard output the file name that match the expression.