1 00:00:06,540 --> 00:00:08,040 - All right, now that you know how to 2 00:00:08,040 --> 00:00:10,263 work with text file, let's do a lab. 3 00:00:11,250 --> 00:00:14,310 So in this lab, you are going to create a text file 4 00:00:14,310 --> 00:00:17,130 with the name users containing the text that you can see 5 00:00:17,130 --> 00:00:20,460 on the slide here, or any other text that you want, 6 00:00:20,460 --> 00:00:23,190 but do notice that I'm going to use this text file 7 00:00:23,190 --> 00:00:26,012 in the next lesson as an example file, 8 00:00:26,012 --> 00:00:29,250 so you better create the file including all 9 00:00:29,250 --> 00:00:32,850 the type outs that you see on the slide. 10 00:00:32,850 --> 00:00:35,490 Next, you use grep to filter all lines that contain 11 00:00:35,490 --> 00:00:36,840 the text Anna. 12 00:00:36,840 --> 00:00:39,420 Use the appropriate tool to print the last line only 13 00:00:39,420 --> 00:00:41,220 for this file and print the contents 14 00:00:41,220 --> 00:00:44,130 of this text file in screen in the reverse order. 15 00:00:44,130 --> 00:00:44,963 Good luck.