Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


Linux Quiz B



  

man

  1. Typing the command man does what?
  2. Typing the command man man does what?
  3. Typing the command man man > man does what?
  4. Typing the command man man | man does what?
  

Shakespeare files

  1. Show all lines where the string "Ireland" appears in Shakespeare. (Search only the files called complete.html to avoid double-counting.)
  2. Count the number of lines where the string "Ireland" appears in Shakespeare. (Use either "grep" or "wc".)
  3. In the previous, show the lines with "Ireland" except for the lines with "for Ireland".
  4. In the previous, count the lines with "Ireland" except for the lines with "for Ireland".
  


If you submit by mistake or make an error, just press "Back" and submit again.