Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1
Let's talk a little bit about Truett and Linux there are two truths.
2
There's the rich user and the root directory.
3
There's also the route home but let's not talk about that for now so we don't confuse ourselves for
4
now what I want to talk about is the root user and Olynyk systems particularly in Cali as well.
5
By default the root use less active and you log in as the root user and as you can see here this is
6
the user name that I've logged.
7
And we also saw that under the power button this indicates that I'm logged in as root user and caddied.
8
You can also tell that you are the root user.
9
Remember when I talked about this a little bit earlier we said this indicates that you are the true
10
user.
11
What this means is that you are this super user that you can do anything to your system.
12
This is super important for you to recognize because as a super user issuing Sundram commands could
13
cause a great deal of damage and you end up having to rebuild your system from scratch sometimes.
14
So be careful when issuing commands as root usually in production environments at work or at home or
15
when you're connected to the Internet.
16
You don't want to be running as root because anything that gets executed in your system will be executed
17
as root which means it will have access to anything it wants.
18
For example let's say you accidentally download a virus or malware and you execute that as a route that
19
will give the virus with privileges meaning that the virus when it runs it will run as root and it will
20
have unlimited unrestricted access to anything in your system.
21
Well on the other hand if you log in as a regular user that does not have separate admin powers and
22
you run that virus the widest might break and it might not be able to access the files that it needs
23
access to.
24
So because this is a super important user the first thing we want to do is change the default password.
25
And the way you do that is by issuing the past WD commands I will ask you to enter and you password
26
and retired then you pass it.
27
Once done it tells you that the password has been updated successfully.
28
I'm going to close that for now because I want to talk to you a little bit about directory structures
29
now that you know what the rules user is.
30
Let's see what they're with directory is and went to go to places and to computer.
31
Let move this down a little bit.
32
Right.
33
This here where I can see everything is called the root directory and this is the main directory or
34
the trunk of the tree if you will that anything else crashes out from under the directory.
35
I have different factors such as the Ben EDC home and so on.
36
Let's talk about those for a bit.
37
The bin directory then stands for binary which means it has all the user binaries in it.
38
So all the programs that I can run as a user are here including the bash the copy cat the grep and so
39
on.
40
All of these are commands that we're going to be looking at throughout this course the EDC directory
41
is where we have the configuration files.
42
So for example later on in the course we're going to be configuring the s h server so if I type.
43
S-sh I can access the s h folder.
44
And this is the file that we're going to be going to be getting later on.
45
Are we going to be changing later on.
46
The home directory is where I would have different folders for different users on the system.
47
I've already created a couple of users so you can see what it looks like.
48
I have two users on the system in addition to who is fluff and Tom usually these users would have their
49
files and separate home directories.
50
This is Tom's home.
51
And this is Fluff's home the other user the Esben folder would have the system winery's.
52
So we saw that bin folder which had the band that is for the user.
53
These are the system winery's And these are banners that usually used to reconfigure the system or do
54
things that would need root access or admin access regular users without the admin privileges will not
55
be able to run these boundaries here.
56
The temp as the name says will contain time for this anthem fights.
57
You can use that when you're working on something Temperley that you want I know later on that you really
58
don't care about.
59
You just dump it and the time to get the work done and then forget about it later on you can come and
60
delete it.
61
And last but not least is the route home that.
62
I don't know if you've noticed or you thought about this when you went to the home for the only home
63
for two users.
64
However we know for a fact that the system has more than two users.
65
We know that the use of truth exists but there is no home here that is separate on its own and it's
66
here.
67
This is the home he can see the home I can on it.
68
And this is where I have my documents desktop and so on.
69
This folder is not accessible by other users unless they have privileges they cannot access this folder.
70
So to recap what I'd like to keep in mind is a number of things.
71
Number one there is the root user.
72
Number two there is a root directory which has all the other directories branching out of it.
73
And number three we have their word home.
74
It might sound a bit confusing for now but you'll get used to it much faster than you think.
75
So whenever there are scores I'm saying you just assume that this is the road user that I'm talking
76
about unless I specify route home or root directory if I say to home that means I'm talking about this
77
for that here.
78
What has everything else under it that belongs to route documents downloads those videos and so on.
79
And when I say directory that means this directory that has everything as branching out from it's again
80
to use a good home and good directory that's all for the section that's moved onto the next section
81
and explore together some of the most common commands that we will be using today on Linux.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.