1
00:00:00,060 --> 00:00:04,520
OK, so now let's go over some of the basics of searching for files, Lennix.

2
00:00:04,660 --> 00:00:10,410
Just a few minutes to go over one that you can use the locate, followed by the founding man and first,

3
00:00:10,410 --> 00:00:16,110
such as the computer, is built in database that it has called for that indicated file name.

4
00:00:16,320 --> 00:00:20,610
And if anything on the file system ever changes, like you asked new files or something, you can always

5
00:00:20,610 --> 00:00:27,450
update the database manually with the update DB Command from the Green Line, then that's fine, followed

6
00:00:27,450 --> 00:00:31,480
by a directory and then Dasch name and then a file name.

7
00:00:31,480 --> 00:00:35,580
First search is a specific directory for indicated Filoni.

8
00:00:35,610 --> 00:00:41,520
So this you would use this if you know where you want to look and then what the finding is exactly.

9
00:00:41,720 --> 00:00:47,220
Then there's also the Wichman followed by the filename searches through the directories that are defined

10
00:00:47,220 --> 00:00:53,150
in a path that in the path and binary variable, which is something Lennix is calling a variable that's

11
00:00:53,160 --> 00:01:01,070
like always present and usable in the command lines, kind of part of the Basche language and its search.

12
00:01:01,080 --> 00:01:02,730
Is that for the given filename?

13
00:01:03,540 --> 00:01:08,640
OK, so we know that we have our test file too here.

14
00:01:08,940 --> 00:01:15,620
So let's do a test file too, so it doesn't know.

15
00:01:15,630 --> 00:01:23,700
So let's try to update the command update DB or ASUDA Update DB.

16
00:01:25,400 --> 00:01:26,820
He never access for this.

17
00:01:27,770 --> 00:01:32,900
OK, so now let's try to locate again, and now he knows that a test file is.

18
00:01:33,620 --> 00:01:37,370
So now let's try to find just for the same exact one.

19
00:01:37,390 --> 00:01:40,430
So we are in Hoagland's.

20
00:01:40,430 --> 00:01:42,080
That's fine.

21
00:01:42,470 --> 00:01:52,670
Slash home slash alley and then dash name and then file names of test file two and bam, it found it

22
00:01:52,670 --> 00:01:53,120
right there.

23
00:01:54,200 --> 00:01:55,940
So now let's try that which command.

24
00:01:57,200 --> 00:02:01,160
This might not work because I don't have anything and might not have anything stored in there.

25
00:02:01,170 --> 00:02:09,130
So which in test file two is not going to find out because I don't have directories in the path of my

26
00:02:09,260 --> 00:02:09,730
variable.

27
00:02:10,340 --> 00:02:17,090
But if you were to set that up with search, do that and be able to find the file for you.
