Hi Chris,
I Tried this
cat filename* > myoutput.txt and it copied all files with that specific filenames to myoutput.txt. thanks.
Hi PHV,
When I try your command, I am getting error with every cat that cant open file name.
Hi Chris,
thank you for your response. But for the first one, I tried and it only moves the search results into the output file. I am looking to copy the the file contents of the search result into single file.
for example.
if my search result returns two files : file 1 and file 2.
file 1...
Dear all,
I am using Oracle Solaris.
I would like to accomplish the following.
1. I would like to search files names and move the search contents of the all files returned in the search to another text file. All the files should be clubbed one after another in a single file.
Example.
grep...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.