1 00:00:00,270 --> 00:00:00,990 Hi, everyone. 2 00:00:01,230 --> 00:00:04,810 In this lecture, we are going to start with finding Eszter. 3 00:00:05,250 --> 00:00:11,270 So until you become familiar with Lennix, it can be frustrating to find your way around. 4 00:00:11,700 --> 00:00:17,880 But knowledge of a few basic commands and techniques will go a long way towards making the command line 5 00:00:17,880 --> 00:00:18,940 much friendlier. 6 00:00:19,590 --> 00:00:24,480 So we have learned so many commands which we can use in Toormina. 7 00:00:24,720 --> 00:00:33,990 So now let's start with one more very, very important command, which is used to locate any file supposed 8 00:00:33,990 --> 00:00:38,070 that we are searching for the ear cracking. 9 00:00:38,370 --> 00:00:42,570 So what we need to do here is simply use a very basic one, which is locate. 10 00:00:42,900 --> 00:00:44,010 So now let's see. 11 00:00:45,000 --> 00:00:49,140 So as I have told you, look, it is used to find out anything. 12 00:00:49,170 --> 00:00:58,020 So this is probably the easiest command to use is locate so followed by keyword denoting what it is 13 00:00:58,020 --> 00:00:59,100 you want to find. 14 00:00:59,400 --> 00:01:05,730 So this command will go through your entire file system and locate every occurrence of that word. 15 00:01:06,630 --> 00:01:08,410 Now, how to write it? 16 00:01:08,730 --> 00:01:13,350 It is very important to understand the syntax or locate, locate. 17 00:01:13,380 --> 00:01:14,490 So this is nothing. 18 00:01:14,500 --> 00:01:20,940 But this is the command and application which you are wanting or the file which you are wanting to see. 19 00:01:21,960 --> 00:01:24,830 Air cracking, so often hitting enter. 20 00:01:25,000 --> 00:01:33,660 Now let's see, after hitting enter, as you can see that this is not the very perfect game on how sometimes 21 00:01:33,660 --> 00:01:40,140 the result of, look, it can be overwhelming giving you too much information, as you can see here. 22 00:01:40,750 --> 00:01:47,830 OK, so also, look, it uses a database that is usually only updated once a day. 23 00:01:48,120 --> 00:01:51,420 So if you have just created a file. 24 00:01:52,480 --> 00:02:00,160 A few minutes ago, we can see a few hours ago, it might not appear in this list until the next day 25 00:02:00,460 --> 00:02:04,980 because it it simply updates a database once in a day. 26 00:02:05,380 --> 00:02:12,520 So it is worth knowing the disadvantage of these basic come on so you can better decide when best to 27 00:02:12,520 --> 00:02:13,540 use each one. 28 00:02:14,170 --> 00:02:19,840 So now let's see one more very important one, which is useful in finding binaries. 29 00:02:20,170 --> 00:02:21,940 OK, so let me clear it. 30 00:02:22,940 --> 00:02:30,260 So for clearing, it simply was clear now the one that I'm going to use here is where is where is. 31 00:02:31,260 --> 00:02:32,010 Ville. 32 00:02:33,220 --> 00:02:34,520 Is this is the come on? 33 00:02:34,870 --> 00:02:41,290 So if you're looking for a binary file so you can use the command, where is to locate it? 34 00:02:41,560 --> 00:02:49,510 So Discon returns not only the location of the binary, but also its source and main page, Manbij we 35 00:02:49,510 --> 00:02:52,030 have seen earlier Cevdet available. 36 00:02:52,240 --> 00:03:00,480 So now let's see where this four year craft and aircraft engine on a hit enter so often. 37 00:03:00,730 --> 00:03:10,360 And in this case, where is the return just to Iraq in this binaries and Manbij rather than every occurrence 38 00:03:10,360 --> 00:03:12,610 of the void air cracking. 39 00:03:13,000 --> 00:03:17,680 So this is much more efficient and illuminating, don't you think that. 40 00:03:18,010 --> 00:03:19,090 Yes it is. 41 00:03:19,540 --> 00:03:28,250 So this is how you can decide which command you need for any particular work. 42 00:03:28,270 --> 00:03:35,410 Suppose that if you want to see whole everything about aircraft engines are given a crack in G, so 43 00:03:35,410 --> 00:03:37,300 you need to use locate. 44 00:03:37,630 --> 00:03:44,290 OK, suppose if you want to see only binary so there is no choice you have because it is so this is 45 00:03:44,290 --> 00:03:47,580 how you can play with the you can see commands. 46 00:03:48,130 --> 00:03:56,390 So now guys, let's learn how to find binaries in the part variable with using which command. 47 00:03:56,430 --> 00:03:59,880 So what does it, what does, how does it work. 48 00:04:00,190 --> 00:04:03,120 So the rich game is even more specific. 49 00:04:03,370 --> 00:04:08,710 It only returns the location of the binaries in the part variable in Lineis. 50 00:04:08,890 --> 00:04:14,680 So we will look more closely at the part of variable in the upcoming lecture so we can see in the upcoming 51 00:04:14,680 --> 00:04:15,250 sections. 52 00:04:15,640 --> 00:04:18,730 But for now it is sufficient to know that. 53 00:04:18,730 --> 00:04:26,320 But hold the directress in Vista operating system looks for the commands you execute at the command 54 00:04:26,320 --> 00:04:30,660 line, for example, when I and the aircraft on the command line. 55 00:04:30,880 --> 00:04:38,830 So the operating system looks to the part variable to see in which directory it should look for aircraft. 56 00:04:38,980 --> 00:04:41,140 OK, so now let's see. 57 00:04:43,410 --> 00:04:46,590 With which OK, which er. 58 00:04:48,110 --> 00:04:59,360 Aircraft Angie and now her tender Suheir, which was able to find the single binary file in the directory 59 00:04:59,480 --> 00:05:07,220 listed in the part variable, at a minimum, these territories usually include, you can see a user 60 00:05:07,370 --> 00:05:12,960 bin, but may include user S-Bahn, maybe a few of those. 61 00:05:13,460 --> 00:05:17,220 So we are going to see all of these things but available later on in this course. 62 00:05:17,560 --> 00:05:19,640 OK, so this is how it works. 63 00:05:19,910 --> 00:05:27,140 In the next lecture, we are going to see one of the most important and it was Carmin that will be very 64 00:05:27,140 --> 00:05:30,950 useful when you're working with Linux operating system.