All language subtitles for 2. Navigating the File System

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,300 --> 00:00:08,330 So now our first lesson in Linux terminology is going to be navigating the file system so if you're 2 00:00:08,330 --> 00:00:14,670 a Windows user you're used to navigating your file system probably through folders through a gooey. 3 00:00:14,720 --> 00:00:17,120 So a graphical user interface. 4 00:00:17,120 --> 00:00:22,290 Well in Linux we can do that but the majority time we're going to live in this terminal here. 5 00:00:22,370 --> 00:00:29,140 So we really need to know how to get around so the first thing we can do here is we can say hey where 6 00:00:29,140 --> 00:00:30,390 are we at. 7 00:00:30,430 --> 00:00:32,760 And that's P.W. D. 8 00:00:32,920 --> 00:00:35,360 So that stands for present working directory. 9 00:00:35,360 --> 00:00:36,330 So you type that in. 10 00:00:36,340 --> 00:00:45,040 You hit enter and it says OK we're in the root folder so we know that we're in the root folder but how 11 00:00:45,040 --> 00:00:46,940 do we get out the root folder. 12 00:00:47,230 --> 00:00:49,720 We can use a command called C D. 13 00:00:49,780 --> 00:00:51,750 And that stands for change directory. 14 00:00:52,240 --> 00:01:01,870 So if we want to change directory backwards we just type in two dots here and now we can say OK where 15 00:01:01,870 --> 00:01:03,190 are we at. 16 00:01:03,190 --> 00:01:05,950 So we're in a slash. 17 00:01:05,950 --> 00:01:11,560 So we're just in a home folder here or just there are generic slash folder right. 18 00:01:11,560 --> 00:01:15,910 So what we can do is well how do we know. 19 00:01:15,910 --> 00:01:17,200 Can we go backwards from here. 20 00:01:17,230 --> 00:01:18,280 Let's keep trying. 21 00:01:18,280 --> 00:01:20,900 So we do P.W. again. 22 00:01:20,920 --> 00:01:21,580 No we can. 23 00:01:21,580 --> 00:01:23,800 This is our base folder right. 24 00:01:23,800 --> 00:01:29,250 So you have to think of this as though the lowest you can go. 25 00:01:29,270 --> 00:01:33,830 So now how do we move around how do we know how to go forwards again. 26 00:01:33,830 --> 00:01:37,160 Well we don't know what's in our Directories right. 27 00:01:37,190 --> 00:01:40,080 So we're sitting in this the slash folder. 28 00:01:40,360 --> 00:01:43,370 And how do we look around. 29 00:01:43,400 --> 00:01:52,040 So there's a command called l s that lists everything that's in the folder so if we say l s we kind 30 00:01:52,040 --> 00:01:56,140 of see this color coordinated here and the color coordination. 31 00:01:56,150 --> 00:01:59,780 It just depends on if it's a folder if the folders read right. 32 00:01:59,840 --> 00:02:04,130 You know there's permission settings which are going gonna get into later but the majority of these 33 00:02:04,130 --> 00:02:05,820 here are folders. 34 00:02:05,840 --> 00:02:06,180 OK. 35 00:02:06,220 --> 00:02:10,230 Well we know we just came out of route so we can go back into route. 36 00:02:10,250 --> 00:02:18,050 Now how do we do that so we can say change directory route and we can actually hit tab to auto complete. 37 00:02:18,050 --> 00:02:24,020 I don't know if you caught that but there No are any folder besides root so at all right I can hit TAB 38 00:02:24,890 --> 00:02:26,380 and it should type it out for me. 39 00:02:26,420 --> 00:02:27,140 Oh I lied. 40 00:02:27,140 --> 00:02:29,600 There is a run in here somewhere but it's hidden. 41 00:02:29,660 --> 00:02:31,820 We're going to cover that soon as well. 42 00:02:31,820 --> 00:02:39,590 So our Oh hit tab autocomplete can change directory in the root so it's less and root and see what's 43 00:02:39,590 --> 00:02:40,840 in here. 44 00:02:40,940 --> 00:02:41,240 OK. 45 00:02:41,270 --> 00:02:43,500 This is more like our home folder right. 46 00:02:43,520 --> 00:02:46,230 So you've got desktop documents downloads. 47 00:02:46,250 --> 00:02:48,580 This is kind of what applies to the user. 48 00:02:49,460 --> 00:02:57,600 So what if we're sitting in this root folder here and we wanted to access instead this Etsy folder. 49 00:02:57,980 --> 00:03:00,680 Well could we do the same at C command here. 50 00:03:00,740 --> 00:03:04,170 Well I'm hitting tab and nothing's happening. 51 00:03:04,170 --> 00:03:07,150 Well because Etsy doesn't belong in this area. 52 00:03:07,160 --> 00:03:07,790 Right. 53 00:03:07,820 --> 00:03:16,340 But if we put a forward slash in front of it because this is the base and then we hit Etsy there now 54 00:03:16,340 --> 00:03:21,590 we can navigate to the Etsy folder and we can actually double tab and see what's all in the Etsy folder 55 00:03:21,590 --> 00:03:24,560 like an L S say no. 56 00:03:24,560 --> 00:03:29,750 Another way to do that is if we wanted to tell us what's in the Etsy folder without navigating to it 57 00:03:30,150 --> 00:03:38,010 we get this type Ellis Etsy and you can see everything that's in here so there's some some tricks that 58 00:03:38,010 --> 00:03:38,990 we can do right. 59 00:03:39,000 --> 00:03:46,170 So we don't have to actually navigate to the folder you know it's in there again if we add less and 60 00:03:46,170 --> 00:03:52,510 we want to know what's sitting in videos or even let's say what's sitting in desktop for our folder. 61 00:03:52,590 --> 00:03:58,860 Well if we start typing desktop and hit tab we can't do that either because everything in Linux is case 62 00:03:58,860 --> 00:03:59,900 sensitive. 63 00:04:00,090 --> 00:04:05,650 So if we start typing desktop and then hit tab now we can LSI and see what's in there. 64 00:04:05,700 --> 00:04:11,440 So our VM where came with a couple of shell scripts here that are automatically placed in our desktop. 65 00:04:11,470 --> 00:04:15,750 We wanted to confirm that you could see that they're both right here. 66 00:04:15,750 --> 00:04:23,910 So as of right now we are just sitting in our home folder and we know how to navigate around. 67 00:04:23,910 --> 00:04:30,000 So if we wanted to go to desktop we could we could hit Alaska now and see what's in there. 68 00:04:30,030 --> 00:04:31,100 We wanted to go backwards. 69 00:04:31,110 --> 00:04:32,270 We could. 70 00:04:32,370 --> 00:04:38,640 OK now we're back in our our route folder and you can also tell where you're at your present working 71 00:04:38,640 --> 00:04:40,970 directory sits right here right. 72 00:04:40,980 --> 00:04:46,260 So this little tilde is actually your home folder and you can see that we're in desktop. 73 00:04:46,260 --> 00:04:53,730 So if we wanted to go back into our desktop instead of typing see you wanted to go to music from your 74 00:04:53,730 --> 00:04:58,180 desktop instead of going root music which will work. 75 00:04:58,290 --> 00:05:07,010 You could also just say I want to go music and that'll put you there as well and notice you don't need 76 00:05:07,010 --> 00:05:12,770 the leading forward slash when you use the tilde so just some couple interesting tricks that you kind 77 00:05:12,770 --> 00:05:14,990 of pick up along the way. 78 00:05:15,050 --> 00:05:21,470 Tab is definite going to be your best friend if you run into something with multiple options say you're 79 00:05:21,470 --> 00:05:26,090 trying to C and you say I want to go to my desktop and you're tapping it's not working you can hit double 80 00:05:26,090 --> 00:05:32,150 tab and then it will show you OK well there's desktop documents downloads those are your three options 81 00:05:32,150 --> 00:05:34,060 that start with a D. 82 00:05:34,210 --> 00:05:41,650 So now you can have an idea as to how to kind of move around but let's do a little bit more. 83 00:05:42,280 --> 00:05:44,560 So what if we want to make our own folder. 84 00:05:44,560 --> 00:05:53,240 Well there's something called Make directory M K DVR so if we say make directory and we'll say I'm just 85 00:05:53,240 --> 00:06:01,240 gonna use my name Heath it's now fully L S we can see that this Heath folder is now here we can go into 86 00:06:01,240 --> 00:06:05,460 the heath folder and there should be nothing in it right. 87 00:06:05,620 --> 00:06:11,900 So we can go back and we can also get rid of the heath folder remove directory Heath. 88 00:06:12,230 --> 00:06:15,430 Alice again it's gone. 89 00:06:15,540 --> 00:06:19,490 So now what else can we do. 90 00:06:19,500 --> 00:06:27,130 Well we can also look for hidden folders so we can say LSA dash L.A. and we can look for hidden files 91 00:06:27,130 --> 00:06:28,030 and folders here. 92 00:06:28,030 --> 00:06:30,240 Remember the color coordination. 93 00:06:30,370 --> 00:06:33,840 So this dot cash right. 94 00:06:33,850 --> 00:06:35,920 That in theory is a hidden folder. 95 00:06:35,950 --> 00:06:39,750 So if we say C.D. Doc cash we can go into there. 96 00:06:39,760 --> 00:06:39,950 We. 97 00:06:39,950 --> 00:06:40,500 Alas. 98 00:06:40,510 --> 00:06:43,060 And there's actually some some information in there. 99 00:06:43,240 --> 00:06:45,750 But when you saw it originally you didn't see that. 100 00:06:45,850 --> 00:06:47,320 We're going to cover more on this. 101 00:06:47,320 --> 00:06:50,860 I just kind of want to show you that trick as you see over on the left side. 102 00:06:50,890 --> 00:06:53,090 There's file permissions and properties. 103 00:06:53,260 --> 00:06:58,640 So be aware that just because it looks like something's not there doesn't mean it's not there. 104 00:06:58,660 --> 00:07:00,070 It might just actually be hidden. 105 00:07:00,070 --> 00:07:03,370 Similar to windows where you have hidden files and folders. 106 00:07:03,430 --> 00:07:06,390 So just a quick trick to show you that so. 107 00:07:06,390 --> 00:07:07,780 Another thing we can do. 108 00:07:08,070 --> 00:07:09,690 So let's go back 109 00:07:12,480 --> 00:07:14,830 and don't worry about what I'm doing here. 110 00:07:14,830 --> 00:07:18,020 You're gonna cover these commands in a little bit. 111 00:07:18,120 --> 00:07:25,350 I'm just going to go high and we're gonna put that in a test text folder. 112 00:07:25,350 --> 00:07:35,060 So now we l s you could see that test out Texas here so if we want to actually copy this file we can 113 00:07:35,060 --> 00:07:41,930 copy just files to another location so we can say hey I've got this test that text but I actually want 114 00:07:41,930 --> 00:07:52,650 to move it to downloads and if we go else to downloads you could see that test site text is actually 115 00:07:52,650 --> 00:08:02,450 sitting in their and if we wanted to remove it we can say remove from downloads or test that text. 116 00:08:02,790 --> 00:08:03,810 Actually sorry. 117 00:08:03,810 --> 00:08:06,690 Remove downloads test text. 118 00:08:06,710 --> 00:08:10,530 We don't have to transition into that directory if we don't want to. 119 00:08:10,530 --> 00:08:11,360 So another trick. 120 00:08:11,370 --> 00:08:16,050 Say we want to see now that it's gone and we want to tell Alas what we want to keep typing this out. 121 00:08:16,140 --> 00:08:21,230 If you hit the up arrow now you can just see your old command. 122 00:08:21,260 --> 00:08:25,130 So if you keep typing your command over and over you can see what's going on. 123 00:08:25,130 --> 00:08:31,560 So that shows that there's nothing in downloads now we were able to successfully remove that file so. 124 00:08:31,580 --> 00:08:34,770 Another thing that we can do is we can actually move. 125 00:08:34,880 --> 00:08:41,740 So say we wanted to move test out text and we wanted to put that into downloads OK. 126 00:08:41,740 --> 00:08:48,340 Now if we less test that text is now gone from this folder because we've moved it we haven't made a 127 00:08:48,340 --> 00:08:51,580 copy we've actually physically moved it away. 128 00:08:51,580 --> 00:08:58,750 So now if we LSI actually let's just tab up you can see that test that text is now in there and I'm 129 00:08:58,750 --> 00:09:06,680 going to remove that here OK and now the last thing I want to show you is the locate feature. 130 00:09:07,010 --> 00:09:17,030 So if we wanted to locate a file say I wanted to locate Bash let's see so we're looking for a file and 131 00:09:17,030 --> 00:09:19,260 we're gonna get more specific along the way. 132 00:09:19,290 --> 00:09:23,970 But if you type in locate you can kind of look through a system to see if you can find it. 133 00:09:25,060 --> 00:09:26,440 Now I'm looking for. 134 00:09:26,440 --> 00:09:30,020 Say any type of bin bash or bin our Bash. 135 00:09:30,040 --> 00:09:30,700 That's fine. 136 00:09:30,700 --> 00:09:31,620 That's really what I want. 137 00:09:32,080 --> 00:09:34,490 But it shows you everything with bash in it. 138 00:09:35,730 --> 00:09:38,340 Now this might not work right away. 139 00:09:38,340 --> 00:09:44,430 Well you might need to do is update the database so you type and update DV it updates everything for 140 00:09:44,430 --> 00:09:46,650 you and then you can use locate again. 141 00:09:46,740 --> 00:09:51,960 So it has to build that database of the information that it's finding in order to locate what you're 142 00:09:51,960 --> 00:09:52,560 searching for. 143 00:09:52,590 --> 00:09:57,340 So make sure that you use update DV sort of frequently OK. 144 00:09:57,340 --> 00:10:02,020 So two more things I want to show you and then we'll close out this video and move on to the next one. 145 00:10:03,230 --> 00:10:07,880 So an important thing you want to do with your new account is we're using a default password and that's 146 00:10:07,880 --> 00:10:09,280 not very secure. 147 00:10:09,320 --> 00:10:19,230 So to change a password for our user we can just type in P.A. SS WD and now it's going to ask us for 148 00:10:19,320 --> 00:10:20,030 a password. 149 00:10:20,040 --> 00:10:23,010 So instead of using Tor we can use something else. 150 00:10:24,420 --> 00:10:29,460 I'm going to type in the very secure password as my password for an example here. 151 00:10:29,460 --> 00:10:36,180 But if you plan on using this machine for future reference you can type in a secure password and kind 152 00:10:36,180 --> 00:10:36,660 of keep it. 153 00:10:37,500 --> 00:10:41,560 So lastly I want to show you is something called man. 154 00:10:41,580 --> 00:10:47,300 So man pages man pages are your instructions for any command that you're running. 155 00:10:47,310 --> 00:10:49,170 Most commands come with a man page. 156 00:10:49,470 --> 00:10:56,820 So let's say we want to look at L S we can say man l s and then it's going to give us all this information 157 00:10:56,820 --> 00:10:59,340 here about L S. 158 00:10:59,340 --> 00:11:02,790 So if you see it says l us as list directory contents. 159 00:11:03,030 --> 00:11:03,560 Awesome. 160 00:11:03,600 --> 00:11:10,920 And then it gives you will options we can do well we can do a dash a for all what you saw earlier and 161 00:11:10,920 --> 00:11:15,490 you can kind of scroll through here and just see exactly what it has to offer. 162 00:11:17,430 --> 00:11:18,390 And that's kind of it. 163 00:11:18,420 --> 00:11:24,180 So when you go through here you can kind of you know if you're struggling to you know there's a command 164 00:11:24,180 --> 00:11:26,990 in there but you're not sure exactly what the command is. 165 00:11:27,090 --> 00:11:30,780 You can type in Man and search it and sometimes you can do. 166 00:11:30,780 --> 00:11:35,610 Alas I don't know if this is going to work but dash dash help and you get some information as well. 167 00:11:35,610 --> 00:11:40,500 It doesn't provide you the full man pages but it provides you something pretty close. 168 00:11:40,500 --> 00:11:45,450 So that's kind of just your way around if you ever get stuck something to look for. 169 00:11:46,260 --> 00:11:46,640 OK. 170 00:11:46,650 --> 00:11:48,770 So that's it for this lesson. 171 00:11:48,780 --> 00:11:56,520 Next we're going to move on to users and privileges how to add users and how to how to change some pseudocode 172 00:11:56,520 --> 00:11:59,250 and some modifications to our file permissions. 16820

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