All language subtitles for Linux for Hackers __ EP 1 (FREE Linux course for beginners)(1080P_HD)

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,000 --> 00:00:04,080 if you want to become a hacker you need 2 00:00:02,000 --> 00:00:05,359 to know linux it's a required 3 00:00:04,080 --> 00:00:06,960 foundational skill it's actually a 4 00:00:05,359 --> 00:00:08,559 prerequisite to doing anything and 5 00:00:06,960 --> 00:00:10,320 hacking like you have to know it 6 00:00:08,559 --> 00:00:11,599 so that's why in this series i'm going 7 00:00:10,320 --> 00:00:17,920 to teach you linux 8 00:00:11,599 --> 00:00:17,920 welcome to my linux for hackers series 9 00:00:21,920 --> 00:00:25,599 now while the series is linux for 10 00:00:23,600 --> 00:00:26,320 hackers most of what i'm covering is 11 00:00:25,599 --> 00:00:27,840 linux for 12 00:00:26,320 --> 00:00:29,840 everyone and i do mean everyone if 13 00:00:27,840 --> 00:00:31,359 you're nit or anything you need to learn 14 00:00:29,840 --> 00:00:33,120 and know linux this series will teach 15 00:00:31,359 --> 00:00:33,920 you the linux foundations you need to 16 00:00:33,120 --> 00:00:35,120 start hacking 17 00:00:33,920 --> 00:00:36,719 and we're not going to waste any time 18 00:00:35,120 --> 00:00:38,320 like you're going to start using linux 19 00:00:36,719 --> 00:00:38,960 right now i'm not kidding like right 20 00:00:38,320 --> 00:00:40,399 this moment 21 00:00:38,960 --> 00:00:42,399 in your browser check the link in the 22 00:00:40,399 --> 00:00:42,800 description you're getting access to a 23 00:00:42,399 --> 00:00:44,960 free 24 00:00:42,800 --> 00:00:46,480 linux lab thanks to my partnership with 25 00:00:44,960 --> 00:00:48,000 hack the box academy they're actually 26 00:00:46,480 --> 00:00:49,520 the official sponsor of this entire 27 00:00:48,000 --> 00:00:50,719 series so let's go let's get you using 28 00:00:49,520 --> 00:00:52,160 linux right now and by the way i'm 29 00:00:50,719 --> 00:00:52,640 having my two oldest daughters do the 30 00:00:52,160 --> 00:00:54,960 same thing 31 00:00:52,640 --> 00:00:56,840 you ready to start hacking no clue you 32 00:00:54,960 --> 00:00:59,120 ready start hacking 33 00:00:56,840 --> 00:01:02,559 sure they are ten and seven they're 34 00:00:59,120 --> 00:01:02,559 signing up for hack the box academy 35 00:01:02,719 --> 00:01:06,080 so if you're thinking man i can't learn 36 00:01:04,159 --> 00:01:13,360 linux that's too hard bullcrap 37 00:01:06,080 --> 00:01:14,560 yes you can let's go right now 38 00:01:13,360 --> 00:01:16,080 so once you've clicked the link and you 39 00:01:14,560 --> 00:01:18,560 signed up which by the way you should 40 00:01:16,080 --> 00:01:19,759 this entire series will use this lab so 41 00:01:18,560 --> 00:01:21,360 do it you can go through the 42 00:01:19,759 --> 00:01:21,600 introduction or just click skip like i 43 00:01:21,360 --> 00:01:23,200 am 44 00:01:21,600 --> 00:01:24,880 no big deal now notice one thing real 45 00:01:23,200 --> 00:01:26,720 quick right under your username you'll 46 00:01:24,880 --> 00:01:27,920 have 30 of whatever the junk that is 47 00:01:26,720 --> 00:01:29,759 those are cubes 48 00:01:27,920 --> 00:01:31,040 cubes are what you need to unlock 49 00:01:29,759 --> 00:01:32,479 whatever course you want to take through 50 00:01:31,040 --> 00:01:33,759 hack the box academy you can also 51 00:01:32,479 --> 00:01:34,720 purchase more but hey we've already got 52 00:01:33,759 --> 00:01:37,439 30 we're good 53 00:01:34,720 --> 00:01:38,159 so next click on modules and then all 54 00:01:37,439 --> 00:01:39,680 modules 55 00:01:38,159 --> 00:01:41,439 i'm going to scroll down just a bit 56 00:01:39,680 --> 00:01:41,759 until i see linux fundamentals right 57 00:01:41,439 --> 00:01:43,840 here 58 00:01:41,759 --> 00:01:45,280 it costs 10 cubes we got 30. we're good 59 00:01:43,840 --> 00:01:46,479 we're going to click on unlock but real 60 00:01:45,280 --> 00:01:48,320 quick before you do that 61 00:01:46,479 --> 00:01:49,920 notice this right here what this plus 10 62 00:01:48,320 --> 00:01:51,439 means is that if we finish this linux 63 00:01:49,920 --> 00:01:53,119 fundamentals course like we actually 64 00:01:51,439 --> 00:01:54,720 complete it hack the box academy will 65 00:01:53,119 --> 00:01:56,799 give us 10 cubes back 66 00:01:54,720 --> 00:01:58,479 so it's basically free as long as you do 67 00:01:56,799 --> 00:01:59,280 it what you're going to right not a big 68 00:01:58,479 --> 00:02:02,000 deal 69 00:01:59,280 --> 00:02:03,600 so let's click on it click on unlock yes 70 00:02:02,000 --> 00:02:05,360 let's do this thing and let's not waste 71 00:02:03,600 --> 00:02:06,479 any time let's click on start right now 72 00:02:05,360 --> 00:02:08,319 and on this page what we're going to do 73 00:02:06,479 --> 00:02:08,720 is scroll all the way to the very very 74 00:02:08,319 --> 00:02:12,000 bottom 75 00:02:08,720 --> 00:02:14,879 all the way here until you see this 76 00:02:12,000 --> 00:02:16,480 your workstation this is your linux box 77 00:02:14,879 --> 00:02:21,200 let's go ahead and click on start 78 00:02:16,480 --> 00:02:21,200 start instance coffee break perfect time 79 00:02:22,800 --> 00:02:24,959 ah that's good stuff what are you 80 00:02:23,920 --> 00:02:26,080 drinking today let me know in the 81 00:02:24,959 --> 00:02:27,840 comments and 82 00:02:26,080 --> 00:02:29,200 it's ready and this is pretty cool watch 83 00:02:27,840 --> 00:02:30,959 this all you gotta do is click 84 00:02:29,200 --> 00:02:32,319 interact and it's gonna launch the 85 00:02:30,959 --> 00:02:35,120 sucker in your browser 86 00:02:32,319 --> 00:02:36,000 click go so here we go your very own 87 00:02:35,120 --> 00:02:37,840 linux machine 88 00:02:36,000 --> 00:02:39,360 your playground hack the box will call 89 00:02:37,840 --> 00:02:41,360 this your phone box 90 00:02:39,360 --> 00:02:42,879 and i love that so now that we're here 91 00:02:41,360 --> 00:02:44,000 inside our linux box we're going to 92 00:02:42,879 --> 00:02:46,959 accomplish two things 93 00:02:44,000 --> 00:02:48,000 first what is this i understand this may 94 00:02:46,959 --> 00:02:50,720 be your first time 95 00:02:48,000 --> 00:02:51,680 ever using linux you might be wondering 96 00:02:50,720 --> 00:02:53,280 what do i do 97 00:02:51,680 --> 00:02:54,959 i don't even know what this is we'll 98 00:02:53,280 --> 00:02:56,160 cover that and then two we're gonna 99 00:02:54,959 --> 00:02:57,280 start using it right now 100 00:02:56,160 --> 00:02:59,360 i'm gonna get you started with your 101 00:02:57,280 --> 00:03:00,400 first linux terminal commands and i'll 102 00:02:59,360 --> 00:03:02,640 cover what that means 103 00:03:00,400 --> 00:03:04,080 so first what the junk is this so this 104 00:03:02,640 --> 00:03:06,640 computer you're using right now 105 00:03:04,080 --> 00:03:07,440 here in your browser which is crazy this 106 00:03:06,640 --> 00:03:09,040 is linux 107 00:03:07,440 --> 00:03:10,800 but to be specific and technical this is 108 00:03:09,040 --> 00:03:12,959 actually a distribution of linux called 109 00:03:10,800 --> 00:03:14,959 parrot os which is an operating system 110 00:03:12,959 --> 00:03:17,040 built for hacking now the os 111 00:03:14,959 --> 00:03:18,000 and parrot os stands for operating 112 00:03:17,040 --> 00:03:20,800 system like 113 00:03:18,000 --> 00:03:22,319 windows mac os ios android it's the 114 00:03:20,800 --> 00:03:23,840 software that we interact with to make 115 00:03:22,319 --> 00:03:25,360 our computer do things so if someone 116 00:03:23,840 --> 00:03:27,040 were to ask you hey what operating 117 00:03:25,360 --> 00:03:29,599 system are you running right now 118 00:03:27,040 --> 00:03:30,480 it would be parrot os and parrot os is 119 00:03:29,599 --> 00:03:33,040 using linux 120 00:03:30,480 --> 00:03:34,239 and more specifically the linux kernel 121 00:03:33,040 --> 00:03:34,879 and i wanted to point that out because 122 00:03:34,239 --> 00:03:37,200 linux 123 00:03:34,879 --> 00:03:38,319 is technically not an operating system 124 00:03:37,200 --> 00:03:40,319 linux is a kernel 125 00:03:38,319 --> 00:03:42,640 and we build operating systems on top of 126 00:03:40,319 --> 00:03:44,239 it so para os is not the only flavor or 127 00:03:42,640 --> 00:03:44,799 distribution of linux there'll be kali 128 00:03:44,239 --> 00:03:47,599 linux 129 00:03:44,799 --> 00:03:48,560 ubuntu centos debian and they'll all use 130 00:03:47,599 --> 00:03:50,400 a version of the 131 00:03:48,560 --> 00:03:51,760 linux kernel which is actually part of 132 00:03:50,400 --> 00:03:54,159 the os but it's not the 133 00:03:51,760 --> 00:03:55,280 os now what does the linux kernel do it 134 00:03:54,159 --> 00:03:58,400 has a very important job 135 00:03:55,280 --> 00:04:01,120 it interfaces with our hardware cpu ram 136 00:03:58,400 --> 00:04:02,720 hard drive etc when we as the hacker 137 00:04:01,120 --> 00:04:04,319 want to run our favorite hacking tool 138 00:04:02,720 --> 00:04:05,120 let's say nmap or something we tell 139 00:04:04,319 --> 00:04:07,360 parrot os 140 00:04:05,120 --> 00:04:08,720 click let's run nmap parrot os will say 141 00:04:07,360 --> 00:04:10,720 hey linux kernel 142 00:04:08,720 --> 00:04:11,760 can we get some hardware resources here 143 00:04:10,720 --> 00:04:13,120 can you tell them 144 00:04:11,760 --> 00:04:14,400 and linux kernel gets the hardware 145 00:04:13,120 --> 00:04:15,840 resources set up it's kind of the middle 146 00:04:14,400 --> 00:04:19,359 man between the application 147 00:04:15,840 --> 00:04:20,400 the os and the hardware but to simplify 148 00:04:19,359 --> 00:04:22,880 things 149 00:04:20,400 --> 00:04:24,560 we just call it linux and we say what 150 00:04:22,880 --> 00:04:25,520 flavor of linux and we say well parrot 151 00:04:24,560 --> 00:04:27,600 os 152 00:04:25,520 --> 00:04:29,680 now the bigger question might be why 153 00:04:27,600 --> 00:04:30,960 linux i mean we got windows we got mac 154 00:04:29,680 --> 00:04:33,440 os what's wrong with those guys 155 00:04:30,960 --> 00:04:34,639 well nothing and everything you see 156 00:04:33,440 --> 00:04:36,400 what's great about linux 157 00:04:34,639 --> 00:04:38,560 i'll explain what's great about linux is 158 00:04:36,400 --> 00:04:40,000 that it's open source which means a lot 159 00:04:38,560 --> 00:04:42,639 but it basically means that it's open 160 00:04:40,000 --> 00:04:44,479 and free to use and redistribute so 161 00:04:42,639 --> 00:04:46,160 people can make awesome distributions 162 00:04:44,479 --> 00:04:48,160 like parrot os 163 00:04:46,160 --> 00:04:49,680 the other benefit of linux is that it's 164 00:04:48,160 --> 00:04:51,759 traditionally faster 165 00:04:49,680 --> 00:04:53,600 and more secure which is why most 166 00:04:51,759 --> 00:04:55,520 websites and servers in the world use 167 00:04:53,600 --> 00:04:57,360 linux as their operating system and it's 168 00:04:55,520 --> 00:04:59,120 also why hackers use linux 169 00:04:57,360 --> 00:05:00,960 most of the hacking tools out there are 170 00:04:59,120 --> 00:05:02,800 linux based so that's what linux is and 171 00:05:00,960 --> 00:05:04,080 this is why we use it but now how do we 172 00:05:02,800 --> 00:05:05,600 use it that's a more interesting 173 00:05:04,080 --> 00:05:07,680 question because 174 00:05:05,600 --> 00:05:09,199 you might be looking at this screen here 175 00:05:07,680 --> 00:05:11,039 your computer desktop and you may be 176 00:05:09,199 --> 00:05:13,120 thinking wow i didn't know linux had 177 00:05:11,039 --> 00:05:15,759 a pretty gui like this a graphical user 178 00:05:13,120 --> 00:05:17,759 interface icons and a dock and 179 00:05:15,759 --> 00:05:19,440 menus and stuff like that's cool and you 180 00:05:17,759 --> 00:05:21,759 can use linux like this 181 00:05:19,440 --> 00:05:22,720 but it wasn't meant to be used like this 182 00:05:21,759 --> 00:05:25,520 so slow down 183 00:05:22,720 --> 00:05:27,199 the truly wheeled the power of linux you 184 00:05:25,520 --> 00:05:28,080 don't use gui you're going to use the 185 00:05:27,199 --> 00:05:30,400 linux terminal 186 00:05:28,080 --> 00:05:31,680 the command line this guy right here go 187 00:05:30,400 --> 00:05:33,280 ahead and click on that i can't tell if 188 00:05:31,680 --> 00:05:35,280 that's green or yellow i'm colorblind 189 00:05:33,280 --> 00:05:37,440 but go ahead and click on that 190 00:05:35,280 --> 00:05:39,199 icon there this is the linux terminal 191 00:05:37,440 --> 00:05:41,199 and this is how you are supposed to use 192 00:05:39,199 --> 00:05:42,639 linux now if you're coming from the gui 193 00:05:41,199 --> 00:05:44,000 only world where all you use is a 194 00:05:42,639 --> 00:05:46,080 graphical user interface 195 00:05:44,000 --> 00:05:47,680 this might seem a little scary i totally 196 00:05:46,080 --> 00:05:48,720 get it but don't worry 197 00:05:47,680 --> 00:05:50,240 we're going to walk through this we're 198 00:05:48,720 --> 00:05:51,759 going to teach you a few commands here 199 00:05:50,240 --> 00:05:53,120 i'm going to slowly wing you off the 200 00:05:51,759 --> 00:05:55,360 graphical user interface 201 00:05:53,120 --> 00:05:56,639 i'll pull it up side by side actually 202 00:05:55,360 --> 00:05:57,919 watch here we go we're gonna teach you 203 00:05:56,639 --> 00:05:59,199 your first few commands 204 00:05:57,919 --> 00:06:01,039 so follow along with me go ahead and 205 00:05:59,199 --> 00:06:02,160 have your linux terminal open and also 206 00:06:01,039 --> 00:06:03,919 at the same time 207 00:06:02,160 --> 00:06:05,280 open up your home directory right here 208 00:06:03,919 --> 00:06:06,960 just double click that sucker 209 00:06:05,280 --> 00:06:08,400 double click i'm going to teach you your 210 00:06:06,960 --> 00:06:09,919 first few commands by doing something 211 00:06:08,400 --> 00:06:11,440 here in the gui and then doing that same 212 00:06:09,919 --> 00:06:12,639 thing here in the linux terminal now 213 00:06:11,440 --> 00:06:14,400 here's the first thing 214 00:06:12,639 --> 00:06:16,080 what i love about the gui is that you 215 00:06:14,400 --> 00:06:17,759 always kind of know where you are right 216 00:06:16,080 --> 00:06:19,759 because you can see it right now i'm in 217 00:06:17,759 --> 00:06:21,199 my user directory my home directory 218 00:06:19,759 --> 00:06:23,440 because i can see it right there and 219 00:06:21,199 --> 00:06:25,120 there's all my stuff now over here 220 00:06:23,440 --> 00:06:26,639 i don't see anything how do i know where 221 00:06:25,120 --> 00:06:27,120 i am we're going to solve that our first 222 00:06:26,639 --> 00:06:28,880 command 223 00:06:27,120 --> 00:06:30,720 type it in with me right now three 224 00:06:28,880 --> 00:06:33,440 letters pwd 225 00:06:30,720 --> 00:06:34,960 pwd stands for print working directory 226 00:06:33,440 --> 00:06:38,160 and it basically does what we see 227 00:06:34,960 --> 00:06:40,319 here and here it tells us where we're at 228 00:06:38,160 --> 00:06:42,720 hey where am i oh i'm right here let's 229 00:06:40,319 --> 00:06:44,880 try it out go ahead and hit enter 230 00:06:42,720 --> 00:06:46,240 bam it shows us the full path of where 231 00:06:44,880 --> 00:06:49,120 we are right now 232 00:06:46,240 --> 00:06:49,520 the home directory and then even further 233 00:06:49,120 --> 00:06:51,599 in 234 00:06:49,520 --> 00:06:52,800 drilling down our user directory so 235 00:06:51,599 --> 00:06:53,520 right now we're actually in the same 236 00:06:52,800 --> 00:06:56,160 spot 237 00:06:53,520 --> 00:06:57,280 as our gui same location okay cool we 238 00:06:56,160 --> 00:06:58,560 know where we are 239 00:06:57,280 --> 00:07:00,000 but we still don't see the same stuff in 240 00:06:58,560 --> 00:07:01,759 our gui like right now where i'm at i 241 00:07:00,000 --> 00:07:03,280 can actually see my my desktop and 242 00:07:01,759 --> 00:07:04,319 templates and documents folders and 243 00:07:03,280 --> 00:07:06,479 downloads folders 244 00:07:04,319 --> 00:07:07,360 i don't see that here how do i see that 245 00:07:06,479 --> 00:07:09,120 next command 246 00:07:07,360 --> 00:07:11,039 type it with me it's going to be our ls 247 00:07:09,120 --> 00:07:13,520 command ls 248 00:07:11,039 --> 00:07:15,440 ls stands for list and it's pretty 249 00:07:13,520 --> 00:07:16,960 simple what it does it'll simply list 250 00:07:15,440 --> 00:07:18,960 the contents of your current working 251 00:07:16,960 --> 00:07:20,639 directory it's going to list what we see 252 00:07:18,960 --> 00:07:22,639 right here you want to see let's do it 253 00:07:20,639 --> 00:07:24,560 go ahead and hit enter 254 00:07:22,639 --> 00:07:26,080 and boom it did it everything we see 255 00:07:24,560 --> 00:07:27,280 here desktop downloads templates 256 00:07:26,080 --> 00:07:28,800 documents postman 257 00:07:27,280 --> 00:07:30,960 is also right here see you can do 258 00:07:28,800 --> 00:07:32,319 anything in the terminal and it's faster 259 00:07:30,960 --> 00:07:34,960 i'll convince you don't worry let's keep 260 00:07:32,319 --> 00:07:36,479 going let's say we want to take a peek 261 00:07:34,960 --> 00:07:37,840 inside of our desktop folder right here 262 00:07:36,479 --> 00:07:39,280 in the gui i know i can just click on 263 00:07:37,840 --> 00:07:41,120 that folder double click 264 00:07:39,280 --> 00:07:43,120 jump in there and i can see my stuff how 265 00:07:41,120 --> 00:07:44,160 do we do that in the terminal our next 266 00:07:43,120 --> 00:07:47,280 command here we go 267 00:07:44,160 --> 00:07:50,000 the command is c d very simple 268 00:07:47,280 --> 00:07:51,280 cd stands for change directory and it's 269 00:07:50,000 --> 00:07:51,759 going to do exactly what we just did 270 00:07:51,280 --> 00:07:53,360 here 271 00:07:51,759 --> 00:07:55,440 watch let's do it right now just after 272 00:07:53,360 --> 00:07:56,720 cd i'll hit space and then tell it what 273 00:07:55,440 --> 00:07:58,160 directory i want to go to let's go to 274 00:07:56,720 --> 00:08:01,919 desktop so i'll type in 275 00:07:58,160 --> 00:08:05,039 desktop and go 276 00:08:01,919 --> 00:08:06,639 oh did it work i don't know 277 00:08:05,039 --> 00:08:08,400 let's let's see let's print our working 278 00:08:06,639 --> 00:08:10,840 directory pwd 279 00:08:08,400 --> 00:08:12,000 let's see if we actually change to that 280 00:08:10,840 --> 00:08:13,599 directory 281 00:08:12,000 --> 00:08:15,520 we did there's a current working 282 00:08:13,599 --> 00:08:17,520 directory and we did indeed 283 00:08:15,520 --> 00:08:19,360 drill down right into the desktop folder 284 00:08:17,520 --> 00:08:20,960 and then to see what's on our desktop as 285 00:08:19,360 --> 00:08:24,240 we can see in the gui we'll just simply 286 00:08:20,960 --> 00:08:26,720 type in ls to list the contents 287 00:08:24,240 --> 00:08:27,919 bam there it all is right there now 288 00:08:26,720 --> 00:08:28,800 we're gonna learn one more command so 289 00:08:27,919 --> 00:08:31,120 hang with me 290 00:08:28,800 --> 00:08:32,719 but so far we've done a lot the pwd 291 00:08:31,120 --> 00:08:34,719 command to see where we are 292 00:08:32,719 --> 00:08:35,839 the ls command to see what's around us 293 00:08:34,719 --> 00:08:37,919 what's in our directory 294 00:08:35,839 --> 00:08:39,279 and the cd command to change where we 295 00:08:37,919 --> 00:08:41,120 are but now how do we go 296 00:08:39,279 --> 00:08:42,640 back because like in the gui here it's 297 00:08:41,120 --> 00:08:43,839 pretty intuitive we got a back button up 298 00:08:42,640 --> 00:08:45,519 here we just go 299 00:08:43,839 --> 00:08:46,880 back and suddenly we're back to our 300 00:08:45,519 --> 00:08:48,880 directory we started in 301 00:08:46,880 --> 00:08:50,240 our home directory how do we do that 302 00:08:48,880 --> 00:08:51,680 same thing over here in the terminal 303 00:08:50,240 --> 00:08:52,800 it's actually super easy so again we're 304 00:08:51,680 --> 00:08:54,000 going to type in cd we're going to 305 00:08:52,800 --> 00:08:56,320 change our directory because we actually 306 00:08:54,000 --> 00:08:57,120 are changing our directory and then 307 00:08:56,320 --> 00:08:59,440 we'll do a space 308 00:08:57,120 --> 00:09:00,160 and all we're going to put in is dot dot 309 00:08:59,440 --> 00:09:02,800 so cd 310 00:09:00,160 --> 00:09:04,080 space dot dot hit enter and let's see 311 00:09:02,800 --> 00:09:08,080 what happens 312 00:09:04,080 --> 00:09:10,959 boom what happened let's type in pwd and 313 00:09:08,080 --> 00:09:13,519 see if it changed our directory 314 00:09:10,959 --> 00:09:14,160 totally did so again we were in home 315 00:09:13,519 --> 00:09:17,680 user 316 00:09:14,160 --> 00:09:20,399 89786 desktop we entered the cd 317 00:09:17,680 --> 00:09:20,800 command with dot dot and that dropped us 318 00:09:20,399 --> 00:09:23,839 back 319 00:09:20,800 --> 00:09:25,200 to home user 89786 now just for fun i 320 00:09:23,839 --> 00:09:27,120 wonder what will happen if we keep going 321 00:09:25,200 --> 00:09:29,920 backwards if we type in cd 322 00:09:27,120 --> 00:09:30,720 dot dot again i'll type in pwd where i'm 323 00:09:29,920 --> 00:09:33,519 at 324 00:09:30,720 --> 00:09:34,480 i'm at slash home now let's do cd once 325 00:09:33,519 --> 00:09:37,600 more 326 00:09:34,480 --> 00:09:40,320 where i'm at now pwd 327 00:09:37,600 --> 00:09:41,200 oh now instead of home i'm simply at 328 00:09:40,320 --> 00:09:43,839 forward slash 329 00:09:41,200 --> 00:09:44,800 and what this is is actually the root of 330 00:09:43,839 --> 00:09:47,040 the file system 331 00:09:44,800 --> 00:09:48,800 it's the end we reached the end and 332 00:09:47,040 --> 00:09:50,720 we'll talk more about that later 333 00:09:48,800 --> 00:09:52,000 but just for fun again that's all for 334 00:09:50,720 --> 00:09:53,680 fun right here 335 00:09:52,000 --> 00:09:57,279 enter the command ls let's list the 336 00:09:53,680 --> 00:09:57,279 contents of the root directory 337 00:09:58,000 --> 00:10:01,839 huh a lot of interesting files here 338 00:10:00,160 --> 00:10:02,240 we'll talk about all this later now real 339 00:10:01,839 --> 00:10:04,000 quick 340 00:10:02,240 --> 00:10:05,680 quiz for you let's see what you remember 341 00:10:04,000 --> 00:10:07,440 right now again if i print my working 342 00:10:05,680 --> 00:10:09,200 directory pwd 343 00:10:07,440 --> 00:10:11,600 i'm at the root forward slash what 344 00:10:09,200 --> 00:10:12,320 command or commands would i enter to get 345 00:10:11,600 --> 00:10:14,079 back 346 00:10:12,320 --> 00:10:15,360 here where we were to start with now 347 00:10:14,079 --> 00:10:17,200 there are two options really 348 00:10:15,360 --> 00:10:18,480 you can do it with one command or you 349 00:10:17,200 --> 00:10:20,079 can do it with two commands comment 350 00:10:18,480 --> 00:10:22,240 below with what you got now here 351 00:10:20,079 --> 00:10:23,839 we just scratched the surface we're 352 00:10:22,240 --> 00:10:25,839 going deeper into linux we're gonna get 353 00:10:23,839 --> 00:10:27,200 you prepped and ready to become a hacker 354 00:10:25,839 --> 00:10:28,959 but don't that diminish the fact that 355 00:10:27,200 --> 00:10:30,560 you did a lot today in this video we 356 00:10:28,959 --> 00:10:32,240 covered what linux is 357 00:10:30,560 --> 00:10:34,240 it's both a kernel and an operating 358 00:10:32,240 --> 00:10:36,160 system similar to windows and mac 359 00:10:34,240 --> 00:10:38,240 but it's faster more powerful and more 360 00:10:36,160 --> 00:10:40,000 secure and way more popular 361 00:10:38,240 --> 00:10:41,279 it wins that contest hands down 362 00:10:40,000 --> 00:10:42,880 especially with hackers 363 00:10:41,279 --> 00:10:44,640 we love it and we also covered some 364 00:10:42,880 --> 00:10:46,399 linux terminal commands we started to 365 00:10:44,640 --> 00:10:47,600 move away from the gui weaning ourselves 366 00:10:46,399 --> 00:10:50,880 of the gui 367 00:10:47,600 --> 00:10:52,959 and started typing away pwd lscd 368 00:10:50,880 --> 00:10:54,240 more to come and again massive shout out 369 00:10:52,959 --> 00:10:55,920 to the sponsor of the series 370 00:10:54,240 --> 00:10:57,680 hack the box academy hack the box 371 00:10:55,920 --> 00:10:58,399 academy which is obviously tied to hack 372 00:10:57,680 --> 00:10:59,519 the box 373 00:10:58,399 --> 00:11:01,519 it's different in that it's more of a 374 00:10:59,519 --> 00:11:02,959 guided i.t security platform and by the 375 00:11:01,519 --> 00:11:04,880 way all the commands i mentioned in this 376 00:11:02,959 --> 00:11:06,480 video will be covered in depth 377 00:11:04,880 --> 00:11:07,519 on hack the box academy and of course 378 00:11:06,480 --> 00:11:08,399 don't forget to hack the youtube 379 00:11:07,519 --> 00:11:10,000 algorithm today 380 00:11:08,399 --> 00:11:11,680 hit that like button subscribe 381 00:11:10,000 --> 00:11:12,320 notification bell comment let's hack 382 00:11:11,680 --> 00:11:14,640 youtube 383 00:11:12,320 --> 00:11:15,680 ethically of course yeah that's all i 384 00:11:14,640 --> 00:11:28,700 got 385 00:11:15,680 --> 00:11:32,160 i'll catch you guys next time 386 00:11:28,700 --> 00:11:34,240 [Music] 387 00:11:32,160 --> 00:11:34,240 you 25671

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.