The Linux Filesystem Explained | How Each Directory is Used

  Рет қаралды 216,280

Akamai Developer

Akamai Developer

Күн бұрын

This video will give you an overview of the top-level directories found on most Linux systems. We'll go over how some of the common top-level directories are used, and explain their specific purposes within Linux.
Chapters:
0:00 - Intro
0:44 - Linux Filesystem Explained
2:06 - /bin/
2:35 - /boot/
2:54 - /dev/
3:52 - /etc/
4:35 - /home/
5:25 - /lib/
6:07 - /lost+found/
6:18 - /media/
6:52 - /mnt/
7:19 - /opt/
7:42 - /proc/
8:27 - /root/
8:46 - /run/
9:04 - /sbin/
9:38 - /srv/
10:11 - /sys/
10:36 - /tmp/
11:00 - /usr/
12:12 - /var/
12:48 - Further Information
13:39 - Outro
New to Cloud Computing? Get started here with a $100 credit → www.linode.com/lp/youtube-vie...
Read the doc for more information on getting started with Linode→ www.linode.com/docs/guides/ge...
Subscribe to get notified of new episodes as they come out → kzbin.info?sub_co...
#Linode #Linux #CommandLine #FileStructure
Product: Linode, Linux, Directories; @VeronicaExplains;

Пікірлер: 252
@k00bly26
@k00bly26 10 ай бұрын
The best explanation of the Filesystem I've seen and by now. Thanks Veronica for explaining
@elddr2
@elddr2 2 жыл бұрын
Wow! Just wow! This was amazingly explained! Will recommend this video 100%
@JarrodMcKitterick
@JarrodMcKitterick 2 жыл бұрын
Thank you, Veronica. Will be sharing your Linux filesystem explanation to all my newbie Linux friends. This video is Awesome and so are you!
@bornsonoran
@bornsonoran Жыл бұрын
This is my 4th time watching. I absolutely love how you breakdown the file system. You make learning Linux very understandable for me.
@salkjshaweoiuenvohvr
@salkjshaweoiuenvohvr 2 жыл бұрын
Veronica is awesome! I've struggled to understand the file system every time I ever tried Linux and you explained it only once and now I finally understand it! Thank you!!!
@Alex-fl2yh
@Alex-fl2yh 2 жыл бұрын
I agree. Does she have an own channel? edit it is linked, nevermind
@gg-gn3re
@gg-gn3re 2 жыл бұрын
Just like windows, 90% of them aren't ever used by users
@mortenlund1418
@mortenlund1418 2 жыл бұрын
She is awesome a lot
@whoguy4231
@whoguy4231 Жыл бұрын
This is something EVERY linux YT channel MUST cover !!! .... Thank You lovely lady
@MikeWood
@MikeWood Жыл бұрын
For some reason I never saw this when it was first posted. Really good info which I had in one spot when I was first learning Linux. Nicely done.
@Michael201078
@Michael201078 2 жыл бұрын
The best explanation of Linux folders. Just great!
@MartinJaszczuk
@MartinJaszczuk 2 жыл бұрын
This is an excellent and concise video. Some previous knowledge required, but NICE!
@blackchristiangeek
@blackchristiangeek Жыл бұрын
Thanks for the tutorial. I have taken a lot of notes and I clearly have a lot more to learn about Linux basics :-) Also, it was interesting to see someone (you) for the first time that I have been listening to for a long time. Thus, I listen to far more podcasts than I watch KZbin videos. Again, thanks and God bless
@atreusduvelll600
@atreusduvelll600 2 жыл бұрын
Great to see you on this channel Veronica! I always love your videos, especially the ones where you demystify some big topics like this. 👍
@pfloydphanatic
@pfloydphanatic 2 жыл бұрын
Thanks for the fun and helpful video! I just took a Linux class and wow what a lot of information. Have like a 30+ page word doc of all commands and another one for all of the directories. It will be a while until I take my Linux+ exam! I told the instructor that I think I know more about the Linux system than Windows now. He's my scripting teacher too for the summer. Think this one's going to be rough...
@joojay328
@joojay328 Ай бұрын
The best video explaining the filesystem, breaking it down. THANK YOU!
@terminalreset7659
@terminalreset7659 2 жыл бұрын
Excellent video! Thanks! Made it easy to get a good understanding of the file system.
@pac-sjwepnic8131
@pac-sjwepnic8131 Жыл бұрын
I really appreciate this video. the basics explanation is enough to get started. Helps me think in the right direction when something happens. Thanks Veronica.
@thedarkknight4243
@thedarkknight4243 Жыл бұрын
Thank you so much Linode and especially Veronica for explaining Linux System. Please do more videos on the Linux system and Linux Server Administration, much appreciated. Thanks
@GPEART1
@GPEART1 6 ай бұрын
The symbolic links information was great to learn, thank you!
@lecomtegaetan8120
@lecomtegaetan8120 Жыл бұрын
... Thank you so much T_T .I had always been looking for THIS content somewhere about the filesystem but explained that way with important things added while in the stream just enough to keep looking for informations more deeply.
@mrd4233
@mrd4233 2 жыл бұрын
I think this one is the best linux quality explanation on yt!!
@umarhussain9334
@umarhussain9334 2 жыл бұрын
Thanks for these videos really helpful
@dumbllama8495
@dumbllama8495 2 жыл бұрын
I loved it. it's concise and fast paced, which is great for learning starter concepts in any field.
@hudsonriverlee
@hudsonriverlee 4 ай бұрын
Incredibly informative video. Wow. I am stunned at how little I know and knew and now feel my eyes opened... my Linux Mint machine is only for Ham radio use .. so very few programs other than Ham radio related programs will be required.. knowing the how and where is a huge help. Well lit videos with good audio and a confident presenter are key ! Well done !!
@asdf51501
@asdf51501 2 жыл бұрын
Good info, well presented. Thanks for the video!
@joel6471
@joel6471 2 жыл бұрын
Well Explained. Thank you for your efforts.
@josephkelly4893
@josephkelly4893 2 жыл бұрын
Nice work with the Linode gig Veronica!!!
@andrespasso8511
@andrespasso8511 2 жыл бұрын
loved that gameboy on the background !
@nytfire3870
@nytfire3870 2 жыл бұрын
Well explained! Keep it up ma'am 👍
@jimbojimberson9934
@jimbojimberson9934 2 жыл бұрын
I love the Unix / directory! I remember switching to MacOS and Linux exclusively and falling in love with the simplicity. This is an awesome guide to all of them!
@linuxstreamer8910
@linuxstreamer8910 2 жыл бұрын
true after coming from windows it is so easy on windows i had some problems when i unplugged & plugged in a external hdd it changed letters I had some games installed on it it broke so much now i don't have to worry about that anymore ALL HAIL LINUX
@birusingh7820
@birusingh7820 2 жыл бұрын
@@linuxstreamer8910 the
@linuxstreamer8910
@linuxstreamer8910 2 жыл бұрын
@@birusingh7820 who cares
@jaminoes_
@jaminoes_ 2 жыл бұрын
NOTE: /home is more akin to C:\Users in Windows, rather than C:\Users\WHATEVER\Documents
@DominicDeligann
@DominicDeligann 2 жыл бұрын
yeah, i was about to comment this too.
@TheTransporter007
@TheTransporter007 Жыл бұрын
Yeah, it's a painfully horrendous error.
@leonidas14775
@leonidas14775 Жыл бұрын
"C:\Documents and Settings\account\My Documents\"
@DistrosProjects
@DistrosProjects Жыл бұрын
@@leonidas14775 not since XP afaik, they changed it
@monikagaikwad7303
@monikagaikwad7303 11 ай бұрын
@@leonidas14775 1 G1
@send2gl
@send2gl 2 жыл бұрын
Well presented, used Linux for ages but nice to get clarification on some folder uses.
@chswin
@chswin 2 жыл бұрын
This is very well done. She’s a pro communicator!
@threadtapwhisperer5136
@threadtapwhisperer5136 2 жыл бұрын
Remember, pressing the TAB key will auto complete the most likely completion. Speed the file path entry in terminal by at least 30 percent.
@AndersJackson
@AndersJackson 2 жыл бұрын
And shortcut keys are from Emacs.
@stephenweishaar9058
@stephenweishaar9058 Жыл бұрын
Been using Linux for nearly 15 years, and I literally only learned this ..... earlier this week! So useful!!!
@MasterHigure
@MasterHigure Жыл бұрын
Depending on what shell you're using, but Bash and most other common shells will tab-autocomplete as far as it can autocomplete unambiguously, not to the most likely completion. There is a substantial difference between the two.
@davidmoore573
@davidmoore573 6 ай бұрын
Woot! Bonus Veronica Explains
@mohammadkhan8712
@mohammadkhan8712 Жыл бұрын
That was very descriptive on the Linux file system!!
@Joe-km1vs
@Joe-km1vs 19 күн бұрын
I’m new to Linux, this is only the second video of yours that I’ve seen, and I think your videos teaching Linux are some of the best I’ve seen! Very clear explanations where I’m able to understand, and your funny sometimes 😂❤ Sincere gratitude and thanks for explaining this foreign OS to an average self/taught Windows user like myself 🙏🏾✌🏾
@zameerpashablr
@zameerpashablr Жыл бұрын
Thank you so much for explaining in detail, I have been learning for the past 1 year , I regularly follow Learn Linux TV....he always speaks about Linode, I wanted to learn a lot about Linux Distros. Thank you so much once again.
@shanearchibald7940
@shanearchibald7940 2 жыл бұрын
This was great and Infromative. Thank you very much.
@nicolycrispi3134
@nicolycrispi3134 Жыл бұрын
This is amazing, thank you so much;
@donstamps
@donstamps 2 жыл бұрын
Great overview! Thank you!
@kevinrobertandrews
@kevinrobertandrews 2 жыл бұрын
That was a lot, but very well explained!!! Thank you.
@MrJoegotbored
@MrJoegotbored Жыл бұрын
Thanks for the tutorial!
@CeliniaGava
@CeliniaGava 2 жыл бұрын
I hope you will expand beyond Linode, you are WONDERFUL at explaining linux
@mariyambeevi9896
@mariyambeevi9896 11 ай бұрын
M
@pinkipandey2402
@pinkipandey2402 11 ай бұрын
@synthmania7275
@synthmania7275 2 жыл бұрын
Proud linode customer. Love your services :).
@nelsonrobertomiranda7329
@nelsonrobertomiranda7329 2 жыл бұрын
Amazing video! about the usr directory, some would call it "unix system resources", hence the name
@datag1199
@datag1199 10 ай бұрын
Great video - thank you! Subscribed
@nickconstantine6308
@nickconstantine6308 2 жыл бұрын
This video was very concise thank you! I have been deploying sites with a recipe for a while and I wanted to learn more about linux. I would really like to see proper mern stack deployment tutorials that utilize things like s3 comparable object storage and node balancers. Maybe something similar with Wordpress installs too would be pretty helpful. I feel like this would help me go from beginner to intermediate.
@giuzp95
@giuzp95 Жыл бұрын
Just what I needed!
@Appalling68
@Appalling68 2 жыл бұрын
1:17 Kernel 4.18. Kernel 4.18? Like wow! LOL! Thank you SO MUCH for such an informative video. You rock, Linux lady!
@ramial-saadi3113
@ramial-saadi3113 2 жыл бұрын
" I assure you that the original contents of /etc were the "et cetera" that didn't seem to fit elsewhere. Other variants might do their own etymologies differently. " " You can find references to "et cetera" in old Bell Labs UNIX manuals and so on - it's used for system configuration, but it used to be where all the stuff that didn't fit into other directories went. "
@Foulancer
@Foulancer 2 жыл бұрын
As a configuration manager I have to say that the Linux file system to me looks like chaos. As if either a result of lack of discipline amongst the open source community or due to legacy. In any case, thanks for this informative video!
@user-cx5rl9qg1b
@user-cx5rl9qg1b 3 ай бұрын
Thank you; it's very educational.
@guildpilotone
@guildpilotone 2 жыл бұрын
Really well done! Thanks!
@ZekeLawl
@ZekeLawl 21 күн бұрын
I’m not a sysadmin but as a new Linux user just to replace windows this is very helpful. Thank you
@beethreeLIVE
@beethreeLIVE 2 жыл бұрын
Love all these cameos on Linode!
@alanjrobertson
@alanjrobertson Жыл бұрын
Great video, thanks. Also loved you addressing the elephant in the room around the pronunciation of /etc 😂🐘👍
@tpasi2020UG
@tpasi2020UG 2 жыл бұрын
Awesome! Great tutorial thank you.
@_BeastRein
@_BeastRein 2 жыл бұрын
Despite already knowing most of this, it was still quite interesting to watch.
@user-rr7im5og7k
@user-rr7im5og7k 2 жыл бұрын
Great Explanation!
@CurtisFairlie
@CurtisFairlie Жыл бұрын
Great explaination 😁
@casuallybad
@casuallybad 2 жыл бұрын
Nice! You gave me GM vibes. Very informative.
@DeadDad1
@DeadDad1 2 жыл бұрын
Excellent video, thank you!
@asaskald
@asaskald 2 жыл бұрын
Veronica's channel is so fun and wholesome and now she's on Linode's channel? Excellent! Thanks, Veronica!
@vwbond
@vwbond 2 жыл бұрын
What is the name of her channel 🤔
@asaskald
@asaskald 2 жыл бұрын
@@vwbond Veronica Explains it All.
@kychemclass5850
@kychemclass5850 2 жыл бұрын
Fantastic Video. Thank youuuuuuu !
@ShariqueFaizan
@ShariqueFaizan 2 жыл бұрын
Very nice explanation.. Thanks
@NuttachaiTipprasert
@NuttachaiTipprasert 2 жыл бұрын
Comming from Windows, I found Linux's filesystem makes a lot more sense. I love how everything in Linux (or Unix, for that matter) is just a file. Everything is clear and I can easily find where my files are because there's no A, B, C, D, E.... Z directory or registry nonsense unlike in Windows.
@herrbonk3635
@herrbonk3635 2 жыл бұрын
I tried that positive attitude with Unix in the 1980s (my employer had heard "it was the future"). Didn't work out well though, still hate most aspects of Unix and its rigid 1970s style conventions. (The Linux kernel that Linus wrote for the 386 is another thing.)
@Conenion
@Conenion Жыл бұрын
Drive letters made (somewhat) sense back than, when computers had 1 or 2 floppy drives. Not much thereafter.
@herrbonk3635
@herrbonk3635 Жыл бұрын
@@Conenion To me, that CP/M heritage makes perfect sense even today, when you have various USB-sticks, memory cards, and external SSDs. It would be nice if the letters could be words though, i.e. a short description of the unit. (No, I'm no M$ fan by any means, just simple and practical.)
@Conenion
@Conenion Жыл бұрын
@@herrbonk3635 > makes perfect sense even today, Not so perfect then, since drive letters have length of 1 char only. > It would be nice if the letters could be words though, In Linux you label a partition. See mount -l, or lsblk. lsblk will show you /run/media//. And any decent GUI file manager will just show you the label. Like for example Nemo. (lsblk -o LABEL shows you only the labels.)
@herrbonk3635
@herrbonk3635 Жыл бұрын
@@Conenion That's not how it was in Unix, iirc. But a Windows shell (like Total Commander or other) could actually do the same. Because the connection between a drive letter and the id-string of an external SSD, other Nand-flash unit, or whatever, is known and visible via "the registry".
@TheVexinator
@TheVexinator Жыл бұрын
Flexibility is not always your friend. Flexibility means there are multiple possible causes when something goes wrong, increasing complexity of troubleshooting. That said, good introduction!
@rafalg87
@rafalg87 2 жыл бұрын
There's some flexibility and some legacy stuff which is fine, but where it gets messy from my point of view is in the /usr/local directory which starts its own duplicated structure, e.g. it can have bin, lib or etc subdirectories. I'm looking at a certain project that uses containers and one of them has configuration in /etc/php while another has it in /usr/local/etc/php. I never know where to look first.
@TonyGonzales
@TonyGonzales 2 жыл бұрын
Veronica is awesome, and so are you! And Linux!
@Pindrop22
@Pindrop22 2 жыл бұрын
That was great! Thank you so much
@sinzies
@sinzies 2 жыл бұрын
Cool intro for someone new to Linux helps demystify any confusion. Loved the /etc pronunciation never heard it that way :) been using e.t.c.
@abdallahkhamis881
@abdallahkhamis881 3 ай бұрын
Awesome .. love it.. thanks alot
@androth1502
@androth1502 2 жыл бұрын
i've noticed in the home folder, there is a .config folder where *most apps store their user-defined configuration files in their respective folders. however there are some like bash and x11 that dump their configs right in the user folder. is this some kind of legacy thing? it would be nice if all the programs obeyed the .config/ convention.
@wsippel
@wsippel 2 жыл бұрын
Yeah, the .config folder is related to the relatively new (as far as standard adoption goes) freedesktop XDG base directory specification. Not all programs follow freedesktop standards, and especially legacy applications sometimes don't adopt such changes for compatibility reasons.
@StrikerEureka85
@StrikerEureka85 2 жыл бұрын
i do some development with Coldfusion and when installing on Linux, it usually goes by default in the /opt directory
@andy_3_913
@andy_3_913 2 жыл бұрын
You're explaining, but not where I was expecting...confused lol. But excellent job all the same :)
@wedrownysowianin9387
@wedrownysowianin9387 Жыл бұрын
Very good explanations as /run seems kind of new and I rarely hear about /sys at all. However /opt still seems to have a lot of use. The Brave browser places nearly all of its files there, as do some commercial VPNs, along with my current distro (Sparky Linux) placing a lot of its wallpapers there.
@lucyinchat
@lucyinchat 2 жыл бұрын
Neat! Linode is doing a thing.
@nicholashughes8214
@nicholashughes8214 2 жыл бұрын
Very helpful Thank you
@GeorgeGzirishvili
@GeorgeGzirishvili 7 ай бұрын
3:30: Your second device has no partitions there. Partitions are ones that end with _p_ followed by a number. 11:00: _USR_ stands for _"Unix System Resource",_ not _"user"._
@stucatz1130
@stucatz1130 2 жыл бұрын
What is the keyboard you are using? Looks like a 65%er ? Thank you for the vid
@TheBoxyBear
@TheBoxyBear 2 жыл бұрын
I worked with windows software that often use the temp folder to avoid corruption when writing files. The stream would write to the temporary file then that file would be moved to the right location, overwriting the original. Is that a way the same directory is often used on Linux?
@johnsanders1728
@johnsanders1728 Жыл бұрын
Nice Presentation
@BilalHeuser1
@BilalHeuser1 2 жыл бұрын
I like to use the -F option when I use the ls command. Using this option, it will classify each entry and indicate what kind of file it is.
@maharajahdann
@maharajahdann 2 жыл бұрын
At last, Bilal!!
@GVlis
@GVlis 2 ай бұрын
Greeting from Greece! very nice 🙏
@cbbcbb6803
@cbbcbb6803 Жыл бұрын
You work with COBOL? I love it. I will subscribe. What COBOL do you work with?
@lukaszmatuszewski
@lukaszmatuszewski 2 жыл бұрын
/usr actually stands for Unix System Resources which perfectly makes sense.
@lorjoo
@lorjoo 2 жыл бұрын
Thank you!
@TomGeewhiskeytango15511meterDX
@TomGeewhiskeytango15511meterDX 2 жыл бұрын
Good video for sure 👌
@orsonc.badger7421
@orsonc.badger7421 2 жыл бұрын
Great video!!
@andreashuber332
@andreashuber332 2 жыл бұрын
Wow great explanation
@FGB64
@FGB64 2 жыл бұрын
Most (all?) of these directory names were inherited from Unix. I believe usr stood for Unix System Resources.
@lucyinchat
@lucyinchat 2 жыл бұрын
That might be apocryphal, it might just be a shortening of user.
@VeronicaExplains
@VeronicaExplains 2 жыл бұрын
@@lucyinchat That's my understanding as well- it didn't stand for anything other than "user" as in "user-land resources" as opposed to "system-land resources" found in the other directories.
@gavinkneale2707
@gavinkneale2707 2 жыл бұрын
👋 Hi Veronica. Real Thanks. Do you know where I can find Clippy ?
@vidhuran4414
@vidhuran4414 2 жыл бұрын
I loved it really learned something
@intriguing24
@intriguing24 2 жыл бұрын
You are amazing....I have been looking for someone who will cut down linux into piece for me and I must say....today I found you and I am convinced you are sent. Thank you. I will subscribe and pls I hope you reply and answer my questions.
@justinnewton7366
@justinnewton7366 Жыл бұрын
Thanks for the help... I'm still trying to learn the system...
@fernandomontesnavarrete8826
@fernandomontesnavarrete8826 2 жыл бұрын
You are amazing. Thank you.
@ManontheBroadcast
@ManontheBroadcast 2 жыл бұрын
A Users and Permissions Tutorial would be a great follow-up ...
@eddiedantes7732
@eddiedantes7732 7 ай бұрын
Thank you for explaining in a way a moron like me can understand. This is how my mom used to talk to me when I was five, and I greatly appreciate it.
@frankwalder3608
@frankwalder3608 2 жыл бұрын
I think it would be nice to see a video on the differences between ext2, ext3, and ext4. Including information about journaling would also be nice.
@nganlinux3313
@nganlinux3313 2 жыл бұрын
0jS
@SM-1010
@SM-1010 6 ай бұрын
The Second Extended File System (ext2) is one of the oldest Linux file systems still available. ext2 stores data in a standard directory and file hierarchy. The maximum file size supported is 2 TB. An ext2 volume can be up to 4 TB in size. File names can be up to 255 characters long. Linux users, groups, and permissions are supported. ex2 does not use journaling (which is used in most modern file systems). As a result, ext2 takes a long time to recover if the system shuts down abruptly. The Third Extended File System (ext3) is an updated version of ext2 that supports journaling. Before committing a transaction to a storage device, the ext3 file system records the transaction to the journal and marks it as incomplete. After the disk transaction is complete, the file system marks the transaction as complete in the journal. By doing this, ext3 can keep track of the most recent file transactions and whether or not they were completed. This allows ext3 to recover much more quickly than ext2 in the event of an unclean system shutdown. ext4 (most common) is the fourth generation file system in the ext file system family. ext4 includes all of the features found with ext2 and ext3 with the addition of the following features: Support for file sizes up to 16 TB and disk sizes up to 1 exabyte (EB). Supports up to four billion files in the file system. Uses checksums to verify the integrity of the journal file itself. Checksums help improve the overall reliability of the system because the journal file is the most heavily used file of the disk.
@act.13.41
@act.13.41 2 жыл бұрын
Well done.
@rupsenshah3345
@rupsenshah3345 11 ай бұрын
Amazing 👏
S3 Object Storage Simply Explained | Linode Object Storage
3:37
Akamai Developer
Рет қаралды 12 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 3,9 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 54 МЛН
Зу-зу Күлпәш.Курс (6 бөлім)
40:48
ASTANATV Movie
Рет қаралды 481 М.
Buy Feastables, Win Unlimited Money
00:51
MrBeast 2
Рет қаралды 91 МЛН
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,2 МЛН
Explaining File Systems: NTFS, exFAT, FAT32, ext4 & More
11:05
ExplainingComputers
Рет қаралды 1,3 МЛН
Linux Mint vs... Linux Mint (Debian Edition)
17:43
Veronica Explains
Рет қаралды 223 М.
Linux File System Explained!
5:16
ByteByteGo
Рет қаралды 164 М.
5 Common Mistakes New Linux Users Often Make
11:49
Learn Linux TV
Рет қаралды 102 М.
The htop Command | Linux Essentials Tutorial
13:44
Akamai Developer
Рет қаралды 30 М.
Linux Crash Course: Navigating the Linux Filesystem
30:28
Learn Linux TV
Рет қаралды 40 М.
Ranking Linux Distributions for 2024: a tier list for my use case !
20:35
The Linux Experiment
Рет қаралды 375 М.
How Does Linux Boot Process Work?
4:44
ByteByteGo
Рет қаралды 484 М.
Что еще за обходная зарядка?
0:30
Не шарю!
Рет қаралды 2,1 МЛН
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Рет қаралды 6 МЛН
What % of charge do you have on phone?🔋
0:11
Diana Belitskay
Рет қаралды 339 М.