Please email me the commands you use and the results of those commands (copy and paste)

  • You should attempt to do each of these tasks with just a single line of command(s).
  • Use data2.dat for all these questions.
  • How many times does the pattern "001" appear in data2.dat? How many times does it appear in column 1? How many times does it appear in column 2?
  • On what row does the maximum of ((4 times column1) + (column2 divided by 3)) appear?
  • Now change all instances of "025" in the file to "999" and redo the question above ("On what row ..."). Note: You should strive to do this all on one line, in a single command sequence.