Understanding Linux and UNIX inodes and file metadata

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 92

  • @mahdizarepoor8964
    @mahdizarepoor8964 ปีที่แล้ว +11

    10 years ago ... but right now I enjoy watching it . this is called a greate content

  • @stevencoto834
    @stevencoto834 7 ปีที่แล้ว +79

    i was more amazed on the use of "!"

    • @keithpetrino
      @keithpetrino 5 ปีที่แล้ว +5

      yeah that's bash history expansion

    • @jonassteinberg3779
      @jonassteinberg3779 5 ปีที่แล้ว +2

      a developer I was working with one day was using it a year or two ago and I looked up and asked "...what's that syntax you're using?" and they explained; the nooks within crannies and crannies within nooks...

    • @VictorGarcia-si8wy
      @VictorGarcia-si8wy 4 ปีที่แล้ว

      Lol me too. I paused the video and went on a rabbit hole about shell events.

    • @manjeetswt
      @manjeetswt 4 ปีที่แล้ว

      same here ... i new abt Ctrl + r then type last command

    • @danwest9900
      @danwest9900 4 ปีที่แล้ว +1

      I learn something new every day about the bash shell. Try this one in your terminal: echo $? It will show the exit status of your last command run in the shell. Exit status 0 means the command ran without errors. Anything other than a 0 indicates an error. Try doing: ping -c 1 foo.bar.coolness (or whatever fake net domain name you want to use). You should get an error. Then run the echo $? command and see what status you get. The shell is so fun and powerful.

  • @insomniac3334
    @insomniac3334 10 ปีที่แล้ว +6

    used this to cram for an operating systems quiz at the last second, it's fantastic!

  • @bobaktadjalli
    @bobaktadjalli 4 หลายเดือนก่อน

    Wow!! What a great explanation.
    I couldn't know what INode is from recent videos, but after I watched your video which is from 11 years ago, I totally understand it.
    Thank you!!

    • @theurbanpenguin
      @theurbanpenguin  4 หลายเดือนก่อน +1

      I think I will update this soon, but thank you :)

  • @nuclearpsyche
    @nuclearpsyche 6 ปีที่แล้ว +7

    Excellent tutorial and clear explanation! Thank you! I didn’t know you could search for files by inode number 👍

  • @TajviaWillis
    @TajviaWillis 9 ปีที่แล้ว +1

    Best explanation I've seen of a pretty complex topic. Thanks!

  • @busdriver1261
    @busdriver1261 5 ปีที่แล้ว +1

    I'm a Linux newbie and found it easy to understand. Thanks!

  • @gowthamanv8740
    @gowthamanv8740 5 ปีที่แล้ว +2

    Great video, crystal clear explanation. Do more videos sir

  • @jasons1856
    @jasons1856 7 ปีที่แล้ว +1

    This video is amazing! We were looking for something like this to keep configuration management.

  • @greghimself3814
    @greghimself3814 2 ปีที่แล้ว +1

    The last part of this video allowed me to get rid of a file named -O (messed up a wget command around 2016) that I had had for years and had given up on dealing with

  • @chanlapming
    @chanlapming 9 ปีที่แล้ว

    Thanks. First clear explanation on inode for me today

  • @tansolomon1170
    @tansolomon1170 8 ปีที่แล้ว +2

    A very well done video! Thanks a million for this. :)

  • @jonassteinberg3779
    @jonassteinberg3779 5 ปีที่แล้ว

    very nice introduction to a firmly misunderstood / unknown topic

  • @chanmanalac2927
    @chanmanalac2927 11 ปีที่แล้ว +1

    very clear explanation.
    i havent' been even halfway the video, but i already liked this video because the explanation is such easy to grasp.
    Although i find it a little bit distracting when looking at that writing hand. :)

  • @vovaonfire
    @vovaonfire 10 ปีที่แล้ว +8

    Thanks! That's a great lecture :)

  • @itsmelostfox
    @itsmelostfox 9 ปีที่แล้ว +3

    took a midterm test today and one of the questions was "what is an inode", got it right! apparently, but thought I should take a look and boom, here I am!. watched a few of your videos so far and subscribed. keep up the good work!

  • @andrejgorskolepov
    @andrejgorskolepov 10 ปีที่แล้ว +1

    Man that was strait to the point ! Tums up

  • @saadnaeem8139
    @saadnaeem8139 9 ปีที่แล้ว +1

    very good explanation with examples. Thanks for sharing

  • @FilipMakaroni_xD
    @FilipMakaroni_xD 4 ปีที่แล้ว

    Love it when you say changed

  • @rfrancoi
    @rfrancoi 8 ปีที่แล้ว +2

    Excellent video. Thank you.

  • @dharmeshsingh9050
    @dharmeshsingh9050 6 ปีที่แล้ว

    using the iNode number to alleviate the absurd file names is a very good method.

  • @yroken
    @yroken 8 ปีที่แล้ว

    This was a great lesson. I plan on checking out your website and hopefully subscribing soon.

  • @craign3766
    @craign3766 4 ปีที่แล้ว +2

    Thanks for this. One question I have though, in your delete example of the "ab* file at the end, you deleted it using the inode number. If you had more than one file linked to that then I assume it would delete every linked file associated with that inode?

    • @ProdEBy
      @ProdEBy ปีที่แล้ว

      If you delete a file, then it depends on what kind of link it is. If it is a soft link, then no, but any access to that soft link results in “File not found”. Whereas if it’s a hard link, then that will still be able to open up the contents as the inode doesn’t get deleted.
      But if you delete an inode, then the hard link should get deleted, and the soft link remains as a dangling link, until you create another file with the same name, in which case, the soft link links to that file again.

  • @codextreme7756
    @codextreme7756 5 ปีที่แล้ว

    very clean and clear explanation

  • @pramodashnal
    @pramodashnal 8 ปีที่แล้ว

    Very easy to understand ! Thanks

  • @CharlesBarret
    @CharlesBarret 5 ปีที่แล้ว

    Excellent. Pure class!

  • @edsonteixeira6057
    @edsonteixeira6057 6 ปีที่แล้ว

    brilhante meu querido. brilhante !! brilhante !!!

  • @ganeshkumarsiva176
    @ganeshkumarsiva176 3 ปีที่แล้ว

    Excellent video

  • @jesusosorio7205
    @jesusosorio7205 9 ปีที่แล้ว +1

    NICE! you are my hero!

  • @avneeshdwivedi5116
    @avneeshdwivedi5116 11 ปีที่แล้ว

    thank you very much sir u make my study easy

  • @bungaloebill4433
    @bungaloebill4433 9 ปีที่แล้ว

    Thank you! I subscribed and WILL be checking out your other videos.

  • @PhilippBrogli-id6gy
    @PhilippBrogli-id6gy 2 หลายเดือนก่อน

    When I have a file on the desktop, there is usually a icon attached to it. Where is that icon stored?

  • @aleksandariricanin849
    @aleksandariricanin849 3 ปีที่แล้ว

    This was Great!

  • @DearDextra
    @DearDextra 5 ปีที่แล้ว +23

    just got asked this in an interview :( Lost my chance at 90K job.

    • @VictorGarcia-si8wy
      @VictorGarcia-si8wy 4 ปีที่แล้ว +1

      Hey I hope you have found something better man! Never settle.

  • @SFSoulCrooner
    @SFSoulCrooner 8 ปีที่แล้ว

    great series tux!

  • @afsarabenazir8558
    @afsarabenazir8558 5 ปีที่แล้ว

    thanks! very well explained. subscribed!

  • @balajisundarrajan9684
    @balajisundarrajan9684 7 ปีที่แล้ว

    Thank you , great lecture

  • @b1ueocean
    @b1ueocean ปีที่แล้ว

    Excellent 👍

  • @ChandraSekhar-ur1so
    @ChandraSekhar-ur1so 8 ปีที่แล้ว

    Thanks !! , ur a genius !!!!. This helped a lot.

  • @squidiebah
    @squidiebah 5 ปีที่แล้ว

    Good explanation!

  • @AndreKhan716
    @AndreKhan716 7 ปีที่แล้ว

    Excellent, thanks!

  • @alpenwasser6869
    @alpenwasser6869 11 ปีที่แล้ว

    Excellent video, dear sir! :)

  • @santidev_
    @santidev_ 5 ปีที่แล้ว

    Thanks, pretty clear!

  • @ricezhang5299
    @ricezhang5299 9 ปีที่แล้ว +1

    Excellent.

  • @rajeswarimoorthy2392
    @rajeswarimoorthy2392 7 ปีที่แล้ว

    Great Video. Thanks :)

  • @carlitodizon9667
    @carlitodizon9667 11 ปีที่แล้ว

    thank you for the knowledge

  • @dhhsncnd6107
    @dhhsncnd6107 10 ปีที่แล้ว

    Is there any reason why rm 'ab' doesn't remove the inode ?

  • @nahbruhwhat
    @nahbruhwhat 7 ปีที่แล้ว

    Great! Thank you.

  • @manjunathkotabal
    @manjunathkotabal 2 ปีที่แล้ว

    great work

  • @cr3ativemind92
    @cr3ativemind92 ปีที่แล้ว

    gr8 explanation

  • @asadmoosvi
    @asadmoosvi 9 ปีที่แล้ว

    Brilliant.

  • @springautumn2993
    @springautumn2993 9 ปีที่แล้ว

    Respect!

  • @mlfconv
    @mlfconv 7 ปีที่แล้ว

    who did the Animation ?

  • @NoajmIsMyName
    @NoajmIsMyName 6 ปีที่แล้ว

    Can you share your bash for the history!

  • @mpereztwomx
    @mpereztwomx 6 ปีที่แล้ว

    Thank you

  • @Suresh1426
    @Suresh1426 9 ปีที่แล้ว +1

    thanks!

  • @thomascarlsen8097
    @thomascarlsen8097 4 ปีที่แล้ว

    Good vid

  • @huanliu1394
    @huanliu1394 7 ปีที่แล้ว

    Thanks!

  • @p1r0574n
    @p1r0574n 9 ปีที่แล้ว +1

    Great Video Thanks a lot!!!

  • @The_Nova_Glow
    @The_Nova_Glow 8 ปีที่แล้ว

    PLEASE MAKE MORE VIDEOS

  • @orkish2844
    @orkish2844 8 ปีที่แล้ว +7

    What is the point of having an automated hand slowly "writing out" text?

    • @PENDANTturnips
      @PENDANTturnips 7 ปีที่แล้ว +6

      Orkish
      I guess the main reason is that it makes the video more engaging, resembling a university lecture or a higher budget video with animations. This can engage more of your brain since most people like to see stuff moving, I think we're more evolved to absorb information like this than talking over still images. Other benefits are that information is more gradually displayed to you, giving you time to process what each part represents.
      I personally like it, more interesting than the other OS lectures out there from uni profs who talk over still PowerPoints.

  • @GNU_Linux_for_good
    @GNU_Linux_for_good 9 หลายเดือนก่อน

    but if I _vim 131135_ the bloody editor starts a whole new file, although I just wanted to edit bloody inode. What th f.... happened here? I wanna inspect the inode itself with surgical precision!

    • @theurbanpenguin
      @theurbanpenguin  9 หลายเดือนก่อน +1

      The inode is the metadata. It uses not a file. Editing the metadata is supported with tools such as chmod , chown and touch.

    • @GNU_Linux_for_good
      @GNU_Linux_for_good 9 หลายเดือนก่อน

      @@theurbanpenguin_point taken - thanks urbanpenguin_

  • @Freegreentealeaf
    @Freegreentealeaf 11 ปีที่แล้ว +1

    :) thanks4the vid, that joke made me laugh4two days ;) Mayb that is just me hehehe

  • @tetonicsheldor
    @tetonicsheldor 4 ปีที่แล้ว +1

    where's the click? CLICK BAIT LOL!

  • @gaiaendeavors
    @gaiaendeavors 4 ปีที่แล้ว

    Jesus please tell me you got a better mic since this video?

  • @kennethcarvalho3684
    @kennethcarvalho3684 3 ปีที่แล้ว

    I prefer the village penguin

  • @srb1855
    @srb1855 3 ปีที่แล้ว +1

    Excellent thank you! ❤️