$ find . ( -name _* -or -newer (Web hosting)
Tuesday, May 8th, 2007$ find . ( -name _* -or -newer while2 ) -type f -print./elif3./words.txt./words2.txt./_break./_if./_set./_shift./_trap./_unset./_until$ See, that wasn t so hard, was it? We had to escape the parentheses so that they were not processed and also quote the *so that it was passed directly into findas well. Now that we can reliably search for files, let s look at the actions we can perform when we find a filematching our specification. Again, this is just a list of the most common actions; the manual page has set. ActionMeaning-exec commandExecute a command. This is one of the most common actions See theexplanation following this table for how parameters may be passed command. -ok commandLike -exec, except that it prompts for user confirmation of each file it will carry out the command before executing the command. -printPrints out the name of the file. -lsUses the command ls -dilson the current file. The -execand -okcommands take subsequent parameters on the line as part of their parameters, with a ;sequence. The magic string {}is a special type of parameter to an -execor -and is replaced with the full path to the current file. That explanation is perhaps not so easy to understand, but an example should make things clearer. Let s see a simpler example, using a nice safe command like ls: $ find . -newer while2 -type f -exec ls -l {} ; -rwxr-xr-x 1 rick rick 275 Feb 8 17:07 ./elif3-rwxr-xr-x 1 rick rick 336 Feb 8 16:52 ./words.txt-rwxr-xr-x 1 rick rick 1274 Feb 8 16:52 ./words2.txt-rwxr-xr-x 1 rick rick 504 Feb 8 18:43 ./_trap$ As you can see, the findcommand is extremely useful; it just takes a little practice to use it well. However, that practice will pay dividends, so do experiment with the findcommand.
Note: If you are looking for best quality webspace to host and run your tomcat application check Vision shared web hosting services