The Linux Filesystem Explained | How Each Directory is Used

Поділитися
Вставка
  • Опубліковано 2 тра 2024
  • 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 → ua-cam.com/users/linode?sub_co...
    #Linode #Linux #CommandLine #FileStructure
    Product: Linode, Linux, Directories; @VeronicaExplains;
  • Наука та технологія

КОМЕНТАРІ • 251

  • @k00bly26
    @k00bly26 9 місяців тому +12

    The best explanation of the Filesystem I've seen and by now. Thanks Veronica for explaining

  • @whoguy4231
    @whoguy4231 Рік тому +2

    This is something EVERY linux YT channel MUST cover !!! .... Thank You lovely lady

  • @elddr2
    @elddr2 Рік тому +51

    Wow! Just wow! This was amazingly explained! Will recommend this video 100%

  • @njoobie
    @njoobie Рік тому +1

    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 Рік тому +1

    This is my 4th time watching. I absolutely love how you breakdown the file system. You make learning Linux very understandable for me.

  • @MikeWood
    @MikeWood Рік тому +1

    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.

  • @salkjshaweoiuenvohvr
    @salkjshaweoiuenvohvr Рік тому +9

    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 Рік тому

      I agree. Does she have an own channel? edit it is linked, nevermind

    • @gg-gn3re
      @gg-gn3re Рік тому

      Just like windows, 90% of them aren't ever used by users

    • @mortenlund1418
      @mortenlund1418 Рік тому

      She is awesome a lot

  • @jaminoes_
    @jaminoes_ Рік тому +119

    NOTE: /home is more akin to C:\Users in Windows, rather than C:\Users\WHATEVER\Documents

  • @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...

  • @blackchristiangeek
    @blackchristiangeek Рік тому +2

    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 UA-cam videos.
    Again, thanks and God bless

  • @threadtapwhisperer5136
    @threadtapwhisperer5136 Рік тому +41

    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 Рік тому +1

      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 Рік тому +1

      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.

  • @MartinJaszczuk
    @MartinJaszczuk Рік тому +1

    This is an excellent and concise video. Some previous knowledge required, but NICE!

  • @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.

  • @Michael201078
    @Michael201078 Рік тому +1

    The best explanation of Linux folders. Just great!

  • @thedarkknight4243
    @thedarkknight4243 Рік тому +2

    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

  • @atreusduvelll600
    @atreusduvelll600 Рік тому +14

    Great to see you on this channel Veronica! I always love your videos, especially the ones where you demystify some big topics like this. 👍

  • @Joe-km1vs
    @Joe-km1vs 4 дні тому

    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 🙏🏾✌🏾

  • @joojay328
    @joojay328 24 дні тому

    The best video explaining the filesystem, breaking it down. THANK YOU!

  • @terminalreset7659
    @terminalreset7659 Рік тому

    Excellent video! Thanks! Made it easy to get a good understanding of the file system.

  • @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.

  • @Foulancer
    @Foulancer Рік тому +3

    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!

  • @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 !!

  • @ramial-saadi3113
    @ramial-saadi3113 Рік тому +7

    " 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. "

  • @GPEART1
    @GPEART1 5 місяців тому

    The symbolic links information was great to learn, thank you!

  • @ZekeLawl
    @ZekeLawl 7 днів тому

    I’m not a sysadmin but as a new Linux user just to replace windows this is very helpful. Thank you

  • @mrd4233
    @mrd4233 Рік тому

    I think this one is the best linux quality explanation on yt!!

  • @jimbojimberson9934
    @jimbojimberson9934 Рік тому +8

    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 Рік тому

      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 Рік тому

      @@linuxstreamer8910 the

    • @linuxstreamer8910
      @linuxstreamer8910 Рік тому

      @@birusingh7820 who cares

  • @andrespasso8511
    @andrespasso8511 Рік тому +1

    loved that gameboy on the background !

  • @dumbllama8495
    @dumbllama8495 Рік тому +3

    I loved it. it's concise and fast paced, which is great for learning starter concepts in any field.

  • @umarhussain9334
    @umarhussain9334 Рік тому +3

    Thanks for these videos really helpful

  • @josephkelly4893
    @josephkelly4893 Рік тому +1

    Nice work with the Linode gig Veronica!!!

  • @asdf51501
    @asdf51501 Рік тому

    Good info, well presented. Thanks for the video!

  • @send2gl
    @send2gl Рік тому +5

    Well presented, used Linux for ages but nice to get clarification on some folder uses.

  • @NuttachaiTipprasert
    @NuttachaiTipprasert Рік тому +17

    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 Рік тому +3

      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".

  • @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.

  • @asaskald
    @asaskald Рік тому +1

    Veronica's channel is so fun and wholesome and now she's on Linode's channel? Excellent! Thanks, Veronica!

    • @vwbond
      @vwbond Рік тому

      What is the name of her channel 🤔

    • @asaskald
      @asaskald Рік тому

      @@vwbond Veronica Explains it All.

  • @lukaszmatuszewski
    @lukaszmatuszewski Рік тому +5

    /usr actually stands for Unix System Resources which perfectly makes sense.

  • @chswin
    @chswin Рік тому

    This is very well done. She’s a pro communicator!

  • @joel6471
    @joel6471 Рік тому

    Well Explained. Thank you for your efforts.

  • @mohammadkhan8712
    @mohammadkhan8712 Рік тому

    That was very descriptive on the Linux file system!!

  • @donstamps
    @donstamps Рік тому

    Great overview! Thank you!

  • @davidmoore573
    @davidmoore573 6 місяців тому

    Woot! Bonus Veronica Explains

  • @Appalling68
    @Appalling68 Рік тому +1

    1:17 Kernel 4.18. Kernel 4.18? Like wow! LOL! Thank you SO MUCH for such an informative video. You rock, Linux lady!

  • @_BeastRein
    @_BeastRein Рік тому

    Despite already knowing most of this, it was still quite interesting to watch.

  • @CeliniaGava
    @CeliniaGava Рік тому +7

    I hope you will expand beyond Linode, you are WONDERFUL at explaining linux

  • @beethreeLIVE
    @beethreeLIVE Рік тому

    Love all these cameos on Linode!

  • @nytfire3870
    @nytfire3870 Рік тому +1

    Well explained! Keep it up ma'am 👍

  • @kevinrobertandrews
    @kevinrobertandrews Рік тому

    That was a lot, but very well explained!!! Thank you.

  • @nelsonrobertomiranda7329
    @nelsonrobertomiranda7329 Рік тому +1

    Amazing video! about the usr directory, some would call it "unix system resources", hence the name

  • @synthmania7275
    @synthmania7275 Рік тому

    Proud linode customer. Love your services :).

  • @shanearchibald7940
    @shanearchibald7940 Рік тому

    This was great and Infromative. Thank you very much.

  • @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.

  • @alanjrobertson
    @alanjrobertson Рік тому

    Great video, thanks. Also loved you addressing the elephant in the room around the pronunciation of /etc 😂🐘👍

  • @nicolycrispi3134
    @nicolycrispi3134 Рік тому

    This is amazing, thank you so much;

  • @guildpilotone
    @guildpilotone Рік тому

    Really well done! Thanks!

  • @MrJoegotbored
    @MrJoegotbored Рік тому

    Thanks for the tutorial!

  • @datag1199
    @datag1199 9 місяців тому

    Great video - thank you! Subscribed

  • @TheBoxyBear
    @TheBoxyBear Рік тому

    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?

  • @nickconstantine6308
    @nickconstantine6308 Рік тому +5

    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.

  • @RafaelUlloa85
    @RafaelUlloa85 Рік тому

    i do some development with Coldfusion and when installing on Linux, it usually goes by default in the /opt directory

  • @tpasi2020UG
    @tpasi2020UG Рік тому

    Awesome! Great tutorial thank you.

  • @user-cx5rl9qg1b
    @user-cx5rl9qg1b 2 місяці тому

    Thank you; it's very educational.

  • @stucatz1130
    @stucatz1130 Рік тому

    What is the keyboard you are using? Looks like a 65%er ? Thank you for the vid

  • @GeorgeGzirishvili
    @GeorgeGzirishvili 6 місяців тому +1

    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"._

  • @DeadDad1
    @DeadDad1 Рік тому

    Excellent video, thank you!

  • @rafalg87
    @rafalg87 Рік тому +1

    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.

  • @FGB64
    @FGB64 Рік тому +3

    Most (all?) of these directory names were inherited from Unix. I believe usr stood for Unix System Resources.

    • @lucyinchat
      @lucyinchat Рік тому +1

      That might be apocryphal, it might just be a shortening of user.

    • @VeronicaExplains
      @VeronicaExplains Рік тому

      @@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.

  • @Pindrop22
    @Pindrop22 Рік тому

    That was great! Thank you so much

  • @ShariqueFaizan
    @ShariqueFaizan Рік тому

    Very nice explanation.. Thanks

  • @TonyGonzales
    @TonyGonzales Рік тому +1

    Veronica is awesome, and so are you! And Linux!

  • @andy_3_913
    @andy_3_913 Рік тому +1

    You're explaining, but not where I was expecting...confused lol. But excellent job all the same :)

  • @giuzp95
    @giuzp95 Рік тому

    Just what I needed!

  • @kychemclass5850
    @kychemclass5850 Рік тому

    Fantastic Video. Thank youuuuuuu !

  • @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.

  • @abdallahkhamis881
    @abdallahkhamis881 3 місяці тому

    Awesome .. love it.. thanks alot

  • @CurtisFairlie
    @CurtisFairlie Рік тому

    Great explaination 😁

  • @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.

  • @user-rr7im5og7k
    @user-rr7im5og7k Рік тому

    Great Explanation!

  • @cbbcbb6803
    @cbbcbb6803 Рік тому

    You work with COBOL? I love it. I will subscribe.
    What COBOL do you work with?

  • @gavinkneale2707
    @gavinkneale2707 Рік тому

    👋 Hi Veronica. Real Thanks.
    Do you know where I can find Clippy ?

  • @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 Рік тому

      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.

  • @casuallybad
    @casuallybad Рік тому

    Nice! You gave me GM vibes. Very informative.

  • @lucyinchat
    @lucyinchat Рік тому

    Neat! Linode is doing a thing.

  • @jeremycoleman3282
    @jeremycoleman3282 Рік тому

    Veronica is my new favorite Linode developer advocate

  • @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.

  • @GVlis
    @GVlis 2 місяці тому

    Greeting from Greece! very nice 🙏

  • @TheVexinator
    @TheVexinator Рік тому +10

    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!

  • @nicholashughes8214
    @nicholashughes8214 Рік тому

    Very helpful Thank you

  • @koekkoeksklak
    @koekkoeksklak Рік тому

    What keyboard is that with split spacebar in the background?

    • @VeronicaExplains
      @VeronicaExplains Рік тому

      System76 Launch Keyboard! I love the split spacebar.

  • @alexbrezny6108
    @alexbrezny6108 4 місяці тому

    I can not imagine anyone ever calling it etsy instead of E T C, there is a correct way of pronoucning it and it is the one I grew up using

  • @vidhuran4414
    @vidhuran4414 Рік тому

    I loved it really learned something

  • @guysmith1134
    @guysmith1134 Рік тому

    That was cool, very calm and clear. I would like a video on - If I have one Linux system on my home home network, can I access the word documents on my Network storage.

    • @Phasma6969
      @Phasma6969 Рік тому

      Yes just make the folder a share in Windows and mount it on Linux. You can google MULTIPLE methods.

  • @dragonek_gnu_linux_pl
    @dragonek_gnu_linux_pl Рік тому

    finally i found a video where is expleied all i man ALL linux filesystem directories not only some and /srv /run /sys skipped almost at all tutorials

  • @johnsanders1728
    @johnsanders1728 Рік тому

    Nice Presentation

  • @justinnewton7366
    @justinnewton7366 Рік тому

    Thanks for the help... I'm still trying to learn the system...

  • @orsonc.badger7421
    @orsonc.badger7421 Рік тому

    Great video!!

  • @intriguing24
    @intriguing24 Рік тому

    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.

  • @ManontheBroadcast
    @ManontheBroadcast Рік тому

    A Users and Permissions Tutorial would be a great follow-up ...

  • @lorjoo
    @lorjoo Рік тому

    Thank you!

  • @fernandomontesnavarrete8826

    You are amazing. Thank you.