The Linux Filesystem Explained | How Each Directory is Used

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 260

  • @k00bly26
    @k00bly26 Год назад +25

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

  • @whoguy4231
    @whoguy4231 2 года назад +5

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

  • @elddr2
    @elddr2 2 года назад +52

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

  • @salkjshaweoiuenvohvr
    @salkjshaweoiuenvohvr 2 года назад +11

    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

  • @MikeWood
    @MikeWood 2 года назад +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.

  • @jaminoes_
    @jaminoes_ 2 года назад +132

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

  • @JarrodMcKitterick
    @JarrodMcKitterick 2 года назад +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!

  • @Michael201078
    @Michael201078 2 года назад +1

    The best explanation of Linux folders. Just great!

  • @MartinJaszczuk
    @MartinJaszczuk 2 года назад +2

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

  • @thedarkknight4243
    @thedarkknight4243 Год назад +3

    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

  • @threadtapwhisperer5136
    @threadtapwhisperer5136 2 года назад +44

    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 года назад +1

      And shortcut keys are from Emacs.

    • @stephenweishaar9058
      @stephenweishaar9058 2 года назад

      Been using Linux for nearly 15 years, and I literally only learned this ..... earlier this week! So useful!!!

    • @MasterHigure
      @MasterHigure 2 года назад +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.

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

  • @blackchristiangeek
    @blackchristiangeek 2 года назад +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 RUclips videos.
    Again, thanks and God bless

  • @joojay328
    @joojay328 9 месяцев назад

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

  • @atreusduvelll600
    @atreusduvelll600 2 года назад +15

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

  • @asaskald
    @asaskald 2 года назад +1

    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.

  • @TonyGonzales
    @TonyGonzales 2 года назад +2

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

  • @josephkelly4893
    @josephkelly4893 2 года назад +1

    Nice work with the Linode gig Veronica!!!

  • @ZekeLawl
    @ZekeLawl 8 месяцев назад +1

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

  • @bettyswunghole3310
    @bettyswunghole3310 4 месяца назад +1

    As someone who was schooled in the "opposition camp" (namely DOS/Windows) and has only recently started getting into Linux/UNIX, the Linux file system was pretty overwhelming...vids like this help to make it less scary, though! 😁

  • @andrespasso8511
    @andrespasso8511 2 года назад +1

    loved that gameboy on the background !

  • @ramial-saadi3113
    @ramial-saadi3113 2 года назад +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. "

  • @OMNS777
    @OMNS777 2 года назад

    Proud linode customer. Love your services :).

  • @CeliniaGava
    @CeliniaGava 2 года назад +7

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

  • @GPEART1
    @GPEART1 Год назад

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

  • @mrd4233
    @mrd4233 2 года назад

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

  • @umarhussain9334
    @umarhussain9334 2 года назад +3

    Thanks for these videos really helpful

  • @Joe-km1vs
    @Joe-km1vs 8 месяцев назад

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

  • @jimbojimberson9934
    @jimbojimberson9934 2 года назад +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 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

  • @crevanizekil
    @crevanizekil Год назад +1

    Finally, a lady explaining linux. Thank you, this is very helpful. Good stuff.

  • @lecomtegaetan8120
    @lecomtegaetan8120 2 года назад

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

  • @pfloydphanatic
    @pfloydphanatic 2 года назад +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...

  • @hudsonriverlee
    @hudsonriverlee Год назад

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

  • @pac-sjwepnic8131
    @pac-sjwepnic8131 2 года назад

    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.

  • @Foulancer
    @Foulancer 2 года назад +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!

  • @alanjrobertson
    @alanjrobertson 2 года назад

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

  • @Appalling68
    @Appalling68 2 года назад +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!

  • @beethreeLIVE
    @beethreeLIVE 2 года назад

    Love all these cameos on Linode!

  • @Hagar921
    @Hagar921 7 месяцев назад

    Just learned a lot. Thank you Veronica!

  • @davidmoore573
    @davidmoore573 Год назад

    Woot! Bonus Veronica Explains

  • @chswin
    @chswin 2 года назад

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

  • @sinzies
    @sinzies 2 года назад +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.

  • @mohammadkhan8712
    @mohammadkhan8712 2 года назад

    That was very descriptive on the Linux file system!!

  • @NuttachaiTipprasert
    @NuttachaiTipprasert 2 года назад +18

    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 года назад +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 2 года назад

      Drive letters made (somewhat) sense back than, when computers had 1 or 2 floppy drives. Not much thereafter.

    • @herrbonk3635
      @herrbonk3635 2 года назад

      @@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 2 года назад +1

      @@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 2 года назад

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

  • @cbbcbb6803
    @cbbcbb6803 2 года назад

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

  • @zameerpashablr
    @zameerpashablr 2 года назад

    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.

  • @terminalreset7659
    @terminalreset7659 2 года назад

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

  • @GVlis
    @GVlis 10 месяцев назад

    Greeting from Greece! very nice 🙏

  • @davidinmichael
    @davidinmichael 3 месяца назад

    You made this for me, right? Thank you 🎉

  • @androth1502
    @androth1502 2 года назад +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.

  • @jeremycoleman3282
    @jeremycoleman3282 2 года назад

    Veronica is my new favorite Linode developer advocate

  • @BilalHeuser1
    @BilalHeuser1 2 года назад +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.

  • @dumbllama8495
    @dumbllama8495 2 года назад +3

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

  • @send2gl
    @send2gl 2 года назад +5

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

  • @nytfire3870
    @nytfire3870 2 года назад +1

    Well explained! Keep it up ma'am 👍

  • @asdf51501
    @asdf51501 2 года назад

    Good info, well presented. Thanks for the video!

  • @andy_3_913
    @andy_3_913 2 года назад +1

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

  • @nelsonrobertomiranda7329
    @nelsonrobertomiranda7329 2 года назад +1

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

  • @MitchSiripanya
    @MitchSiripanya 11 месяцев назад

    Thank you; it's very educational.

  • @donstamps
    @donstamps 2 года назад

    Great overview! Thank you!

  • @stucatz1130
    @stucatz1130 2 года назад

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

  • @ShariqueFaizan
    @ShariqueFaizan 2 года назад

    Very nice explanation.. Thanks

  • @joel6471
    @joel6471 2 года назад

    Well Explained. Thank you for your efforts.

  • @datag1199
    @datag1199 Год назад

    Great video - thank you! Subscribed

  • @CurtisFairlie
    @CurtisFairlie 2 года назад

    Great explaination 😁

  • @BG-qb6dq
    @BG-qb6dq 2 года назад +1

    The second drive is actually not partitioned. "n1" is the namespace.

  • @taidee
    @taidee 2 года назад

    Ok, Veronica, I've finally subscribed 🤣

  • @rafalg87
    @rafalg87 2 года назад +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.

  • @MrJoegotbored
    @MrJoegotbored 2 года назад

    Thanks for the tutorial!

  • @shanearchibald7940
    @shanearchibald7940 2 года назад

    This was great and Infromative. Thank you very much.

  • @lucyinchat
    @lucyinchat 2 года назад

    Neat! Linode is doing a thing.

  • @notnow_later
    @notnow_later 17 дней назад

    I lost my Lost and found directory, where would i find it?

  • @casuallybad
    @casuallybad 2 года назад

    Nice! You gave me GM vibes. Very informative.

  • @kychemclass5850
    @kychemclass5850 2 года назад

    Fantastic Video. Thank youuuuuuu !

  • @abdallahkhamis881
    @abdallahkhamis881 11 месяцев назад

    Awesome .. love it.. thanks alot

  • @frankwalder3608
    @frankwalder3608 2 года назад +6

    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 Год назад +1

      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.

  • @kevinrobertandrews
    @kevinrobertandrews 2 года назад

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

  • @dragonek_gnu_linux_pl
    @dragonek_gnu_linux_pl 2 года назад

    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

  • @tpasi2020UG
    @tpasi2020UG 2 года назад

    Awesome! Great tutorial thank you.

  • @guysmith1134
    @guysmith1134 2 года назад

    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 2 года назад

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

  • @Pindrop22
    @Pindrop22 2 года назад

    That was great! Thank you so much

  • @Babbili
    @Babbili 7 месяцев назад

    this is one of the best Linux filesystem vids, wonder why she's not anymore in Linode

  • @ManontheBroadcast
    @ManontheBroadcast 2 года назад

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

  • @koekkoeksklak
    @koekkoeksklak 2 года назад

    What keyboard is that with split spacebar in the background?

    • @VeronicaExplains
      @VeronicaExplains 2 года назад

      System76 Launch Keyboard! I love the split spacebar.

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

  • @FGB64
    @FGB64 2 года назад +3

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

    • @lucyinchat
      @lucyinchat 2 года назад +1

      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.

  • @TheLazyJAK
    @TheLazyJAK 2 года назад +1

    I'm pretty sure /usr stands for universal system resources or something like that

  • @StrikerEureka85
    @StrikerEureka85 2 года назад

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

  • @gavinkneale2707
    @gavinkneale2707 2 года назад

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

  • @SatishKumar-ut4pu
    @SatishKumar-ut4pu 2 года назад

    Please want to learn more about file system types, EXT3 , 4 LVM, XFS how to extended them when we augment additional disk space, also role of /etc/fstab

  • @giuzp95
    @giuzp95 2 года назад

    Just what I needed!

  • @vidhuran4414
    @vidhuran4414 2 года назад

    I loved it really learned something

  • @guildpilotone
    @guildpilotone 2 года назад

    Really well done! Thanks!

  • @GeorgeGzirishvili
    @GeorgeGzirishvili Год назад +2

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

  • @nicholashughes8214
    @nicholashughes8214 2 года назад

    Very helpful Thank you

  • @TheVexinator
    @TheVexinator 2 года назад +11

    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!

  • @nickconstantine6308
    @nickconstantine6308 2 года назад +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.

  • @남이-v8x
    @남이-v8x 2 года назад

    Great Explanation!

  • @eddiedantes7732
    @eddiedantes7732 Год назад

    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.

  • @MHarvey-tp5km
    @MHarvey-tp5km Год назад +1

    "etc" is literally pronounced "ETCETERA" according to its creator Dennis Richie. It's not a mystery.