Linux shell, how to use the exec option in find with examples

Posted by linuxaria on Sep 25, 2012 1:09 PM EDT
linuxaria.com; By Linuxaria
Mail this story
Print this story

In a former article I’ve wrote 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.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.