April 4, 2011, 9:47 p.m.
posted by juff
Because the grep and find commands can take a couple of minutes to do their work, you may want to run them in the background, as described in Chapter 13. To do that, redirect their output to a file so that you can review the results of the search at your leisure. End the command with an ampersand (&), which tells UNIX to run the command in the background. For example, you can type these two commands, pressing Enter after each one:
find / -name "budget*" -print > budget.files & grep "chocolate mousse" * > mousse.recipe.files &
When the jobs end, you can type these commands to see what they found:
cat budget.files cat mousse.recipe.files