WEBVTT

00:08.870 --> 00:09.550
Hi there.

00:09.620 --> 00:10.610
Welcome back.

00:10.610 --> 00:16.250
Welcome to the final lesson of this section in this list and we're going to learn the more important

00:16.250 --> 00:17.280
commands.

00:17.500 --> 00:19.180
Command is the process.

00:19.250 --> 00:19.810
OK.

00:20.180 --> 00:25.250
The commands are number one and number two is no hope.

00:25.340 --> 00:25.830
OK.

00:25.830 --> 00:32.700
With the help of commands you can do some more airballs stuff as compared to the previous tools.

00:32.700 --> 00:32.960
OK.

00:32.990 --> 00:35.400
So let's see how I could do this.

00:35.840 --> 00:42.300
OK first talk about your future utility your future utility is a powerful tool in Linux.

00:42.300 --> 00:49.190
This utility gives you the information about the file user or the process being currently used by a

00:49.190 --> 00:51.180
file or directory.

00:51.400 --> 00:51.910
OK.

00:52.160 --> 00:54.130
So how do you use this tool.

00:54.190 --> 01:05.760
OK suppose I want to see information about who directory then you need to type if user OK and forward

01:05.830 --> 01:09.460
slash OK for forwards less represent the rubric.

01:09.840 --> 01:12.860
You can see this kind of information here.

01:12.930 --> 01:18.370
It's currently showing us the process id and so access type.

01:18.510 --> 01:19.160
OK.

01:19.400 --> 01:26.730
And if you want to see this information in detail you can provide the search like I've the.

01:26.850 --> 01:35.360
And hit enter key and now you can see clearly here it shows us the user the process ID and it exists

01:35.390 --> 01:36.550
existed.

01:36.570 --> 01:37.100
Come on.

01:37.140 --> 01:37.680
OK.

01:37.920 --> 01:41.030
So here user will get the first user is rogue.

01:41.240 --> 01:42.830
Is process ID.

01:42.830 --> 01:47.480
It's showing here Colonel exegeses mom can come on this route.

01:47.640 --> 01:56.750
The next one is push on process I.D. one of us who've been accessed by P R C and Common's is Tim D.

01:56.790 --> 01:57.140
OK.

01:57.150 --> 02:03.330
So in this very you can get the information about the Directory the root directory is currently being

02:03.330 --> 02:06.580
used by the user Prashant and route.

02:06.750 --> 02:07.180
OK.

02:07.200 --> 02:11.660
So these are the processes that are currently using the root directory.

02:11.940 --> 02:14.090
So what are these axes eggs.

02:14.100 --> 02:16.050
OK so let's see.

02:16.050 --> 02:18.380
So there are different kinds of access type.

02:18.550 --> 02:19.230
OK.

02:19.560 --> 02:21.600
Suppose you get in the output.

02:21.650 --> 02:24.820
See that means it is current directory.

02:24.840 --> 02:29.060
Then if you get it that means it is being run.

02:29.100 --> 02:35.260
If you get that means open find if fees all Miguel in default display mode.

02:35.400 --> 02:41.810
If you get capital left that means you can file for writing and Capital-FM is also omitted in default

02:41.860 --> 02:42.680
display mode.

02:42.840 --> 02:48.160
If you get small that means it is the rope access type group.

02:48.270 --> 02:53.360
And if you get small that means it is managed in a file or shared library.

02:53.460 --> 02:59.640
Here you can see it shows us the pressure is having the access type RNC.

02:59.730 --> 03:07.100
That means you can get a directory and the next process shows us only our That is a group.

03:07.170 --> 03:13.090
So in this way you can get the information in detail with the help of this come on.

03:13.280 --> 03:14.160
OK.

03:14.290 --> 03:18.110
Like c'mon we can also send the kill signal.

03:18.210 --> 03:20.450
We'll get to these processes.

03:20.450 --> 03:27.900
Suppose you want to kill all the processes here then you can simply said I often get a signal and hit

03:28.050 --> 03:29.230
enter.

03:29.490 --> 03:34.360
And now here you can see the entire system restarted.

03:34.590 --> 03:38.410
So let's log in again clear.

03:38.800 --> 03:43.110
And let's run again if he's there.

03:43.360 --> 03:45.470
V.

03:47.170 --> 03:47.730
OK.

03:47.850 --> 03:52.020
Now we kill these processes by sending the signal key.

03:52.200 --> 03:58.200
But suppose there are lots of processes and you want to kill a particular process.

03:58.200 --> 04:02.810
So in such cases you can soon switch like a hyphen.

04:02.850 --> 04:04.930
I use an interactive mode.

04:05.110 --> 04:09.910
OK in which it will ask you whether you want to kill the process or not.

04:10.110 --> 04:16.680
And in this way you can kill a particular process without affecting other processes.

04:16.870 --> 04:17.240
OK.

04:17.250 --> 04:20.940
So just Plourde eye for an eye and he Danka.

04:21.300 --> 04:27.410
OK now here he is asking me if I want to kill one 5 9 4 process.

04:27.870 --> 04:29.100
No.

04:29.480 --> 04:33.110
Asked me for explosives to kill me and I won't press.

04:33.300 --> 04:34.380
Yes.

04:34.710 --> 04:35.630
OK.

04:35.650 --> 04:46.270
And after pressing Yes the there is no file present in our Krongard the slow create a file student last

04:46.310 --> 04:47.450
year.

04:48.210 --> 04:52.990
Now here the file is present and future.

04:53.330 --> 04:56.480
You can get the details of the file system.

04:56.750 --> 04:57.290
OK.

04:57.380 --> 05:04.260
All the processes which are connected to the file system weren't responsible for the file system.

05:04.580 --> 05:10.820
Then you can get the information about good like this overlord in the file as in code.

05:11.200 --> 05:11.780
OK.

05:11.930 --> 05:16.920
And you can also get it in detail by Guarani slash.

05:17.340 --> 05:18.270
OK.

05:18.440 --> 05:25.130
In this way you can see all these processes are related to the file system on which in this file is

05:25.130 --> 05:26.660
present.

05:27.320 --> 05:36.390
In this way you can use the user utility to get information about a particular file user or direct to

05:36.380 --> 05:41.870
user OK or the process which is using the directly or connected to the directory.

05:42.190 --> 05:43.570
OK the next one.

05:43.570 --> 05:45.120
And which is the important command.

05:45.140 --> 05:45.680
OK.

05:45.890 --> 05:52.250
He's no hope no hope is a utility which is used to run a program at the background.

05:52.280 --> 05:54.800
Even if you are Lagat from the system.

05:54.920 --> 05:55.420
OK.

05:55.670 --> 05:59.090
So let's see how it works.

05:59.090 --> 06:03.060
So I want to bring my host that is called off line.

06:03.170 --> 06:07.000
So who said this had the background you just need to type.

06:07.310 --> 06:19.270
No how then big enough to call off line and send it back around again cannot here can't see it displays

06:19.270 --> 06:25.390
the message are ignoring important happening or you know how got that means there's no hope.

06:25.390 --> 06:28.370
God Oxley's glittered in the current directory.

06:28.720 --> 06:41.110
So despite your love of OK now we are logged out type username and password.

06:41.590 --> 06:42.800
OK we are back.

06:43.140 --> 06:49.450
And then here you can see no hope thought out file is created and you can see its contents.

06:49.460 --> 06:54.220
My Gad you know how it got out OK.

06:54.370 --> 06:56.080
And it is the output of the bin.

06:56.080 --> 07:01.570
Come on and you can check it the command is running or not.

07:01.570 --> 07:05.910
With a stop key and type S-3.

07:05.980 --> 07:07.650
So still.

07:07.660 --> 07:08.470
Come on Bing.

07:08.500 --> 07:10.340
And here you can see it is all.

07:10.340 --> 07:19.890
Come on it is running in the background here and you can kill this command by sending the signal 9 and

07:19.900 --> 07:21.260
select your signal line.

07:21.410 --> 07:28.290
Look cool ok and the process stop press and get this stuff clear.

07:28.470 --> 07:33.360
You'll get in this way you can use the fuser and no hope.

07:33.390 --> 07:33.960
Come on.

07:34.000 --> 07:37.070
OK these are the most powerful tools.

07:37.510 --> 07:44.410
So in this way this process management section is very useful for you to manage the processes and make

07:44.410 --> 07:46.790
sure you run your system faster.

07:46.930 --> 07:47.220
OK.
