I'm having trouble with unix shell script. I need to "Cat every file (in D) whose name starts with ``test'' into a file (in D) called ``bigtest''". So far I have:
cat test*.txt > bigtest.txt But its not working the way it needs to. If someone could help me, I'd really appreciate it!
User Profile
Collapse
-
beginner at unix need help!
I have to write a unix shell script, and I've done most of it but I can't figure out one part. I need to write every line containing the word ``delete'' produced by ``man mail'' into a file called ``delete'' and popy every line of a file (in D) called ``dogfile.txt'' that has the word ``dog'' (lower-case letters only) in it into a file (in D) called ``doglines.txt' '. I know how to copy, and I have looked at sort and grepo but I can't figure out how...
No activity results to display
Show More