1 00:00:00,210 --> 00:00:01,500 So congratulations. 2 00:00:01,500 --> 00:00:03,870 You've made it to the end of this section of the course. 3 00:00:03,870 --> 00:00:06,030 All about the Linux file system. 4 00:00:06,030 --> 00:00:10,560 Now being able to effectively navigate the Linux file system and work with files is likely going to 5 00:00:10,560 --> 00:00:14,130 be skills that you will use over and over and over again. 6 00:00:14,130 --> 00:00:16,250 So congratulations for making it this far. 7 00:00:16,260 --> 00:00:20,550 So so to celebrate your success so far in the course in this video, I want to have a quick review of 8 00:00:20,550 --> 00:00:25,020 what we have covered in this section so you can see just how far that you have come. 9 00:00:25,440 --> 00:00:30,690 So we first started off with a discussion of the structure of the Linux file structure of the last file 10 00:00:30,690 --> 00:00:30,990 system. 11 00:00:30,990 --> 00:00:31,350 Sorry. 12 00:00:31,350 --> 00:00:36,390 And you saw that the whole file system has a tree like structure starting with a root directory and 13 00:00:36,390 --> 00:00:37,590 branching out from there. 14 00:00:37,590 --> 00:00:42,510 And once you understood that the structure of the file system and had a map to work with, you learned 15 00:00:42,510 --> 00:00:47,310 how to tell where your shell is currently operating from using the P command. 16 00:00:47,310 --> 00:00:52,590 Now PWT stands for print working directory and it basically prints out on your screen the location that 17 00:00:52,590 --> 00:00:54,420 your shell is currently operating in. 18 00:00:54,420 --> 00:00:59,520 And you also learn that you can do the same thing by glancing at your shell prompt, which is the bit 19 00:00:59,520 --> 00:01:03,060 of text in your terminal on the left where you enter your commands. 20 00:01:03,480 --> 00:01:08,070 Now, once you saw how to find out where you are, you saw had to move around the file system and change 21 00:01:08,070 --> 00:01:13,200 directories using the CD command and how to look around by listing out the contents of directories using 22 00:01:13,200 --> 00:01:14,430 the LS command. 23 00:01:14,430 --> 00:01:19,350 Now, after learning these critical navigation commands, you had a discussion about the meaning of 24 00:01:19,350 --> 00:01:23,970 file extensions in Linux and you saw that file extensions don't matter much Linux but might matter to 25 00:01:23,970 --> 00:01:25,350 the programs running on it. 26 00:01:25,350 --> 00:01:28,920 Now this means that you have the flexibility to give files, whatever names that you want. 27 00:01:28,920 --> 00:01:32,220 But just remember that you might want to stick to standard file conventions. 28 00:01:32,490 --> 00:01:37,050 If you're expecting those files to be used by other programs, then you learned about a feature of the 29 00:01:37,050 --> 00:01:40,890 shell that I'm sure you fell in love with by now, which is wildcards. 30 00:01:40,890 --> 00:01:45,600 Now, wildcards allow you to operate on many different files at once and just operate on specifically 31 00:01:45,600 --> 00:01:51,180 what you are looking for which which saves you lots of time and typing and basically makes your commands 32 00:01:51,180 --> 00:01:52,530 a whole lot more powerful. 33 00:01:52,530 --> 00:01:57,030 Now, once you had got those very important basics down, you learned a whole bunch of commands. 34 00:01:57,040 --> 00:02:01,290 You had to create files and directories, copy them, paste them, delete them, rename them, move 35 00:02:01,290 --> 00:02:06,420 them around, and also how to edit them with a command line based text file editor called Nano. 36 00:02:06,420 --> 00:02:11,100 But with all of this creation moving and editing of files, it's quite likely that at some point you 37 00:02:11,100 --> 00:02:16,140 won't know exactly where a file is created, are located, and you might need to find it. 38 00:02:16,140 --> 00:02:21,180 So you use the locate command to find files on your system and you learn that the Locate Command uses 39 00:02:21,180 --> 00:02:26,310 a database to find files and you saw how to use the update DB command to update this database. 40 00:02:26,320 --> 00:02:31,200 Now, for security reasons, updating the database requires elevated privileges that normal users don't 41 00:02:31,200 --> 00:02:31,560 have. 42 00:02:31,560 --> 00:02:36,570 So you saw how to use the sudo command to temporarily become the root user and do what you need to do. 43 00:02:36,570 --> 00:02:39,180 And you can use that for any command, not just the locate command. 44 00:02:39,210 --> 00:02:43,650 Now, although the locate command is awesome and can get the job done quickly, sometimes you need something 45 00:02:43,650 --> 00:02:46,020 a bit more customizable and heavy duty. 46 00:02:46,020 --> 00:02:50,790 So after learning about the Locate Command, you learned how to find files using the find command. 47 00:02:50,790 --> 00:02:55,020 Now the Find Command is a super powerful command that has loads of options to make sure that you can 48 00:02:55,020 --> 00:02:57,660 find whatever you want on your system. 49 00:02:57,720 --> 00:03:01,470 Now, it also has the added bonus that once you have found a bunch of files or directories with the 50 00:03:01,470 --> 00:03:06,720 find command, you can actually tell the find command to run another command or series of commands for 51 00:03:06,720 --> 00:03:08,430 each result that it finds. 52 00:03:08,430 --> 00:03:12,840 Now, this allows you to create incredibly powerful functionality with very little effort, and then 53 00:03:12,840 --> 00:03:17,010 you moved on to learn about how to look inside files using the cat command. 54 00:03:17,010 --> 00:03:21,750 You saw that you can also stick files together or concatenate different files using the command, and 55 00:03:21,750 --> 00:03:23,100 sometimes you need to reverse data. 56 00:03:23,100 --> 00:03:28,530 So you saw that you can reverse files vertically using the tac command or horizontally using the rev 57 00:03:28,530 --> 00:03:29,100 command. 58 00:03:29,790 --> 00:03:34,620 Now, sometimes when you open files or run commands, you get a whole lot of output on the screen and 59 00:03:34,620 --> 00:03:36,690 having it all on the screen at once is not very helpful. 60 00:03:36,690 --> 00:03:41,340 So you learned about the less page, a program that allows you to page through large amounts of text 61 00:03:41,340 --> 00:03:42,510 to make it more manageable. 62 00:03:42,510 --> 00:03:47,400 And you also learned a whole host of useful tactics for getting just what you want from a file. 63 00:03:47,400 --> 00:03:50,490 So does the head command, the tail command and grep command. 64 00:03:50,520 --> 00:03:54,390 Then you saw how to you can sort a files contents in a variety of different ways. 65 00:03:54,390 --> 00:03:58,620 And finally, we topped off the discussion with a look at file archiving and compression. 66 00:03:58,740 --> 00:03:59,290 Whew. 67 00:03:59,310 --> 00:04:03,780 So you've really learned a lot of stuff in this section and you should be incredibly proud of yourself. 68 00:04:03,780 --> 00:04:05,430 So well, well done. 69 00:04:05,430 --> 00:04:09,390 Now you will use the skills that you've learned here all the time with your work with the Linux command 70 00:04:09,390 --> 00:04:09,600 line. 71 00:04:09,600 --> 00:04:13,800 So it's a really amazing moment right now in your Linux skills development. 72 00:04:13,800 --> 00:04:18,420 So in the next section, you're going to learn about how you can schedule and automate tasks on your 73 00:04:18,420 --> 00:04:22,530 system using batch scripts and a super useful utility called Cron. 74 00:04:22,530 --> 00:04:26,190 But before we get to that, I have a project for you to complete. 75 00:04:26,190 --> 00:04:31,440 Now the project will challenge you to do various things with the Linux file system and use a whole bunch 76 00:04:31,440 --> 00:04:34,920 of the commands and build a really advanced pipeline. 77 00:04:35,370 --> 00:04:40,050 Now it's going to be awesome and it will serve as a badge of honor that you have learned everything 78 00:04:40,050 --> 00:04:44,430 that we've covered in this section of the course, so you can feel confident moving on. 79 00:04:44,550 --> 00:04:47,820 So in the next video, I'm going to be giving you a project brief. 80 00:04:47,820 --> 00:04:50,910 So congratulations once again for what you've done in this section. 81 00:04:50,910 --> 00:04:52,200 You're doing amazingly. 82 00:04:52,200 --> 00:04:55,380 I'm super proud of you, and I'll see you in the next video.