1 00:00:01,370 --> 00:00:09,830 ‫Now, the less command is a command line utility that displays the contents of a file or command output 2 00:00:10,340 --> 00:00:12,170 ‫one page at a time. 3 00:00:12,950 --> 00:00:19,220 ‫So you see how it's similar to more, but it actually has more advanced features so you can search for 4 00:00:19,220 --> 00:00:27,200 ‫word in a file moved to a specific line, and it allows you to go both backward and forward within the 5 00:00:27,200 --> 00:00:27,530 ‫line. 6 00:00:29,470 --> 00:00:30,700 ‫So let's play around with that. 7 00:00:31,790 --> 00:00:36,500 ‫Run pseudo less slash bar slash logs syslog. 8 00:00:41,930 --> 00:00:45,410 ‫You can now press the Arrow keys to go back and forward. 9 00:00:55,290 --> 00:00:59,520 ‫So let's search for a database, for instance, right slash database. 10 00:01:00,630 --> 00:01:01,690 ‫And yeah, there you go. 11 00:01:01,710 --> 00:01:02,940 ‫It finds it easily. 12 00:01:05,770 --> 00:01:07,610 ‫So now let's go to a specific line. 13 00:01:08,590 --> 00:01:11,350 ‫Move to the 86th line, for instance. 14 00:01:12,370 --> 00:01:17,680 ‫OK, well, we cannot see the line number, but I believe that we are in the 86th line. 15 00:01:19,420 --> 00:01:19,720 ‫All right. 16 00:01:19,730 --> 00:01:21,310 ‫So just quit out of that.