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
Once upon a time long long time ago for somebody to configure and administer a system they had to go
2
physically and log into that system and do whatever changes were necessary.
3
So just imagine that you walk into a room that has this TV screen or what looks like a TV screen attached
4
to a massive computer that TV screen was all the terminal.
5
So the terminal was basically a display that returned the output of any command that you were using
6
or executing.
7
I didn't understand your input.
8
I didn't understand what you were doing.
9
Its sole purpose its job was to only take that input and show you the output what understood what you
10
were doing was a program running in the background.
11
That program would understand what you were typing the keystrokes that you were typing.
12
I would take it and put it with processor and then it would turn the output.
13
Once the OP would return it will be displayed on the terminal.
14
So we needed two components at that time.
15
The actual physical screen or the terminal and the program that was running in the background and Linux
16
that program is under the slash bin slash Bash.
17
So if I go to places to computer to Ben this is the program that would understand my input.
18
So am I telling you all this here's why if and I go to this I can hear the name of this icon is that
19
terminal.
20
So this symbolizes what the computer screen was back then.
21
In the old days if I open the terminal it will open up with a program already running.
22
This is what we call the shell.
23
This is the bash commands.
24
So by default the bash command is running on my terminal.
25
Otherwise I wouldn't be able to accept any input and display any output.
26
This shell is what accepts my inputs.
27
It will run my command in the background and send it back to the terminal to display the output.
28
This is much more powerful than that.
29
You see the graphical user interface and unlikely gooey this is always present on servers.
30
Theres a lot of instances where you be doing penetration testing or an ethical hacking regiment where
31
you come across a server without you without all this beautiful graphical stuff.
32
Reason being is because this is resource extensive.
33
This takes up a lot of space and memory which is something we can't afford on servers.
34
We don't want to have this performance impact and because the graphical user interface isn't really
35
necessary we can do everything using the text based interface we use with answers don't install the
36
graphical interface so this is always the graphical interface isn't and this is one of the reasons why
37
it's really important that you learn how to navigate your way through any Linux system using the terminal
38
or the shell.
39
So going forward by the way whenever I say terminal or shell what I'm referring to is this window here.
40
The black one.
41
So when you do get penetration testing exercise or unethical engagement your objective usually is to
42
get a shirt.
43
What that means is your objective usually is to get access such as that one to the remote machine which
44
is your vector machine.
45
You would usually get shell in one of two ways either Richen as you can see here I'm logged in as root
46
and you will see this outside here and this means that log and as the superuser.
47
Or you will get a non-road shell and that would look like instead of a downside there will be a dollar
48
sign and what that means is that you are logged in as a non root user.
49
Or you are not the superuser your low privileged user now because we are on the graphical user interface.
50
We can customize the look and feel of this.
51
We can do that by visiting the preferences options under the edit menu.
52
One of the first things that I like to do when I'm recording videos is to zoom in and zoom out.
53
How do I do that.
54
I can see the shortcuts here.
55
Will Show me the keyboard shortcuts for different commands So for example how did you copy paste how
56
to open a terminal and so on to zone in its control.
57
Plus plus to zone out its control plus minus.
58
So now what I'm typing on my keyboard this control shift on the button next to my backspace which is
59
a plus plus it's the equal button without the shift that wouldn't be plus obviously.
60
So I want a tab control shift equal equal which is shift plus plus and that zoomed in my terminal or
61
my shell.
62
So now you can see what I'm doing.
63
One of the other things that I like to do is change the preferences of how I open a new terminal.
64
By default opening a new terminal will open a new window.
65
Personally that's not my preference.
66
What I like to do is to open terminals in new tabs and I can't change that on their preferences
67
open you turn a tab.
68
And again not to say that here I don't have an Apply button or an OK button like in Windows it just
69
automatically takes you something.
70
I close that.
71
I do file open terminal and it opens in a new tab.
72
I can open as many terminals as they want and when I'm done I can close whatever terminal and onwards.
73
Now obviously you might be wondering what if I want to open another terminal and a new window because
74
to do that by going to the favorites for right clicking and you went to one other thing you can do if
75
you wish to change the way your terminal colors look like.
76
And you can do that under the profiles.
77
I'm going to create a new profile for the sake of this exercise.
78
I'm going to call that red and I'm going to change the colors.
79
This by the way are some preset themes they can pick and choose from.
80
I'm going to do my own thing and I'm going to change the text color for example to red and the background
81
color to white and I'm going to close that.
82
So what happens now if I try to open a new terminal I can choose that option and I have a new terminal
83
with completely different settings.
84
This is useful for example if you're logged in as Drew just so you can remind yourself that you are
85
logged in as the super user and you need to be careful what commands you're executing.
86
So the terminal will look different it will feel different it will remind you to be careful of what
87
you're doing.
88
Obviously it can also change the fonts and a whole bunch of other things.
89
Let me explore those.
90
And you don't experiment with this for a while and then we can move on to the next section where we're
91
going to be learning some tips and tricks and shortcuts that terminal.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.