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
All right time to roll up our sleeves and get our hands dirty let's familiarize ourselves with some
2
basic commands and Linux.
3
But before we do that I want to keep something very important in mind.
4
Linux is case sensitive.
5
So if we're typing the word password for example and we use a capital P that's very different than using
6
a small p I've unfortunately seen this happen and training videos where the instructors are trying to
7
access some files or using some commands and they're using the wrong capitalization and they're wondering.
8
Live in the training.
9
Why is it not working.
10
I can believe that instructors could do that.
11
Please be careful about this.
12
If you're new to Linux you're completely forgiven to do that.
13
If you don't the structure of doing that.
14
Not as much.
15
Are they trying to access Foz and the Nexus not as forgiving as Windows.
16
Unfortunately so.
17
So a file that has the name test using capital-T if you try to access the test file using a small t
18
that would not work.
19
Now though we talked about this he had other objectives for this section we're going to be learning
20
how to move around the file system how to change directories and jump from one directory to another.
21
We're going to be learning how to create files and directories then obviously we want to see the content
22
of these files and directories.
23
We're going to learn how to do that as well.
24
And last but not least we're going to be learning how to copy move and delete these files and directories.
25
There are a couple of things that we want to keep in mind when we're talking about commands in Linux.
26
The fact that commands have a certain structure and with this structure come to things options and arguments
27
options are things that change how the tool or the command behaves and the usually letters preceded
28
by a hyphen.
29
You can use more than one option.
30
So for example the ls command is a command that lists contents of a directory.
31
Now don't worry we're going to be seeing this practically later on the LS on itself would behave in
32
a certain manner.
33
If we type for example L S minus H or minus one help it will display something completely different.
34
This is the option that we're using here.
35
The minus H minus a and so on.
36
The other thing that we want to be taking into consideration is that commands have also arguments on
37
top of options and arguments usually are extra pieces of information to tell the command what to act
38
on.
39
So for example if I'm using the L as command without any arguments the LS will display the content of
40
my current directory.
41
So for example if I'm in the documents directory and I type s I'm going to see the contents of the documents
42
directory.
43
If however I type an S for those lasht desktop I'm going to be seeing the contents of the desktop directory
44
in this particular case desktop as my command arguments the example you see in front of you is L S minus
45
l forward slash desktop minus L is the option and it changes the way that displays the content of desktop
46
which is my argument.
47
Again if this sounds confusing don't we we're going to be seeing plenty of examples and I promise you
48
we're going to be finding this very easy in no time.
49
So what are the basic commands that we're going to be exploring in this section PWT which stands for
50
print working directory CD which is change directory and Dione on which is to make or create a directory
51
touch which we use to create a file and S which is a commando we use to list directory content.
52
We're going to be also looking at the cat commands which means concatenate or display a file contains
53
less command which shows the file content and a different way had dash and stance for the numbers for
54
example had minus 10 had minus 50 which displays the first and number of lines of a file by default
55
then.
56
So for example if I type had filed that XTi I'll see the first 10 lines on the file the XTi tail will
57
show me the last 10 lines or 50 lines or whatever I'd replace and with tail minus f tells me to follow
58
the end of a changing file.
59
If it's a live file if it's changing while I'm looking at it I can use that tail minus the C command
60
stands for copy file and vi is move or rename fine.
61
And our MDI are for removing files and or directories.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.