Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
-
The problem statement, all variables and given/known data:
1)find all lines in file ,myf that contain all the words cat dog and mouse in any order and start with the letter A
2) list all fines in home dir that contain string "so " somewhere within them. next just list number of files in home dir that contain string so -
Relevant commands, code, scripts, algorithms:
find
ls -
The attempts at a solution (include all code and scripts):
#1) egrep "cat|dog|mouse" myf -> would give all lines containing either cat dog or mouse , however i don't know how to start it with the letter A
for #2) find . -name "so" ( however i now this is very off)
thank you for the help -
Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
ryerson , toronto , ontario , woit
Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).