1 00:00:06,900 --> 00:00:08,490 - We are now at the end of this lesson. 2 00:00:08,490 --> 00:00:11,160 Let's have a look at commands that we have seen. 3 00:00:11,160 --> 00:00:14,700 It started with ln for creating hard and symbolic links. 4 00:00:14,700 --> 00:00:16,230 Then we have used find, 5 00:00:16,230 --> 00:00:17,460 a convenient utility 6 00:00:17,460 --> 00:00:21,000 that allows you to find files based on any property. 7 00:00:21,000 --> 00:00:24,930 Locate is convenient if you want to be a little bit faster, 8 00:00:24,930 --> 00:00:27,660 but locate needs you to run updatedb 9 00:00:27,660 --> 00:00:29,820 because it works with a database. 10 00:00:29,820 --> 00:00:33,030 And which is finding files that are in the path variable. 11 00:00:33,030 --> 00:00:35,790 So which is good for executables, 12 00:00:35,790 --> 00:00:37,230 but not for textiles 13 00:00:37,230 --> 00:00:40,350 or any other document that you may have created. 14 00:00:40,350 --> 00:00:42,210 Tar was the utility that we have seen 15 00:00:42,210 --> 00:00:44,160 that you can use to archive files. 16 00:00:44,160 --> 00:00:47,400 And gzip is what you can use to compress the file. 17 00:00:47,400 --> 00:00:49,230 After archiving, 18 00:00:49,230 --> 00:00:53,160 or you can call it directly from tar using the z option. 19 00:00:53,160 --> 00:00:55,650 Now gzip was not the only compression utility. 20 00:00:55,650 --> 00:00:59,520 We have talked about bzip2, and xz, as well as zip. 21 00:00:59,520 --> 00:01:02,370 Of these utilities, zip is not very common. 22 00:01:02,370 --> 00:01:04,710 Gzip is probably the most common. 23 00:01:04,710 --> 00:01:08,820 Bzip is giving a very nice balance between time 24 00:01:08,820 --> 00:01:11,040 that it takes and compression ratio. 25 00:01:11,040 --> 00:01:13,290 And xz is what you wanna use 26 00:01:13,290 --> 00:01:16,800 if you want the best compression that you can imagine. 27 00:01:16,800 --> 00:01:17,940 Now, we have seen file. 28 00:01:17,940 --> 00:01:21,000 File can be used on any file to identify what type 29 00:01:21,000 --> 00:01:24,540 of file it is so that you know what to do with it later. 30 00:01:24,540 --> 00:01:26,640 And last, we have talked about mount. 31 00:01:26,640 --> 00:01:30,090 Mount is how you connect a device to a specific directory. 32 00:01:30,090 --> 00:01:33,090 Df is how you can see the mounted devices, 33 00:01:33,090 --> 00:01:35,433 including disk space still available. 34 00:01:37,020 --> 00:01:41,100 Findmnt is showing the mounts in a nice overview. 35 00:01:41,100 --> 00:01:43,770 Findmnt is oriented on the file system tree. 36 00:01:43,770 --> 00:01:45,780 So you can see where in the tree 37 00:01:45,780 --> 00:01:48,690 you have specific devices that are mounted somewhere. 38 00:01:48,690 --> 00:01:51,480 And finally, we have talked about lsblk, 39 00:01:51,480 --> 00:01:54,183 which will list blocked devices that are available.