http://reginaldkurth.zoomshare.com/files - Details
melvinsolden: The command in this case can include options, metacharacters, and arguments. Here is an example of using command substitution:
$ vi $(find /home | grep xyzzy
In this example, the command substitution is done before the vi command is run. First, the find command starts at the/home directory and prints out all files and directories below that point in the file system. The output is piped to the grep command, which filters out all files except for those that include the string xyzzy in the filename. Finally, the vi command opens all filenames for editing (one at a time) that include xyzzy.
Save this page to your bookmarks.
Tagged and described by the following users:
The command in this case can include options, metacharacters, and arguments. Here is an example of using command substitution: $ vi $(find /home | grep xyzzy In this example, the command substitution is done before the vi command is run. First, the find command starts at the/home directory and prints out all files and directories below that point in the file system. The output is piped to the grep command, which filters out all files except for those that include the string xyzzy in the filename. Finally, the vi command opens all filenames for editing (one at a time) that include xyzzy.