Linux Devices & Hardware (Linux+ Objective 1.1.3)

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • We've already learned that everything in Linux is a file -- but in this video we learn about the specific device types that are created in the /dev folder. That includes some special virtual character devices, namely:
    /dev/zero
    /dev/null &
    /dev/urandom
    We then look at how to identify the actual underlying hardware connected to the system, and a few extra $RANDOM bonus things along the way.
    This is part of our CompTIA Linux+ series, and even if you're not interested in certification, is a great way to learn the nitty gritty bits of a Linux operating system.
    The Linux+ objectives are available here:
    snar.co/plusob...
    #Linux #CompTIA #XK0_005

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

  • @Cam-ws1mc
    @Cam-ws1mc Год назад +12

    You have a serious talent for explaining particularly tedious info in interesting ways. You're incredibly engaging and I love watching your videos to supplement my study for the Linux+ cert, keep it up!

  • @TonyShasta
    @TonyShasta Год назад +4

    Bruh... I couldn't focus after the 8:14 transition 😂
    Great series. Thank you! 👍

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

      Seriously I am dying, it was too good

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

    Great video, when you when you read /dev/zero it does in essence give all zeros. The ASCII NULL character is eight zeros in a row so if you read that file it would give out zeros in groups of eight. A nice test is to read /dev/zero device with the xxd command with xxd /dev/zero.

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

    I don't normally leave comments, but I feel like I have to. Your Linux training is like gold. I've looked elsewhere and usually lose interest pretty quickly when studying Linux, but not with your channel. Thanks!

    • @shawnp0wers
      @shawnp0wers  4 месяца назад

      Thank you! That’s incredibly kind. :)

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

    Bro you are thorough i hope your channel takes off. You need to make a bunch of shorts so the YT algorithm recommends your channel more

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

      First off, thank you! And shorts… I really need to brainstorm a bunch of quick Linux tips or something. (I did a few, if you look at my channel, but useful ideas in under a minute… I should see how other educational channels do it maybe)
      Thanks again! :)

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

    Another great episode of Linux + series! Dev null can be compered with a black hole, everything goes in but nothing goes out 😂

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

      Thanks, and lol -- it seemed the perfect metaphor. :D

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

    This video was fantastic! I love the content and how engaging it is. Please keep it up ❤

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

      Thank you! Really, that's great to hear. :)

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

    Excited to see the techy Mr. Rogers channel take off! Great video!

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

      Boy, "Techie Mister Rogers" is just about the nicest compliment I've ever been given!

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

    The Wig did it for me.. LOL... talking about random!
    note: this VOD is packed with lots of good information! thanks for sharing!

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

    Binary black holes and null bit firehoses. Never realized Linux was this awesome.

  • @NicozStrat
    @NicozStrat 6 месяцев назад

    Omg this video Is so good and useful man, thank you so much!!!

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

    Great series! Really fun to watch😁 Could you recommend any particular place in which we could do some CompTIA Linux+ test questions?

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

    Good Talk. Just to be clear though, I believe $RANDOM provides a 15 bit random number (range of 0 to 2^15-1), rather than a "32 bit random number."

  • @dono42
    @dono42 5 месяцев назад +1

    dmidecode is not installed by default on some distributions (such as Arch).

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

    Just found your channel, fantastic content 👏 thanks 😊 👍 subscription earned 👏 👍

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

      Thank you! And honestly, we're only just getting started, I'm really looking forward to all the videos I get to record. :D

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

    FYI - dmidecode does not work on ARM products. There is no dmidecode table in the OS...

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

    i love this series thanks. 😎

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

      Thank you! I should get into a groove soon, I hope. I did with Linux Essentials, and was able to get the content out fairly quickly. I'm hoping for that here too. :)

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

    As linux user . I didn't know about dmidecode. Also, /dev/urandom got some upgrades in newer linux versions. Never noticed that before even tho I read the change logs about it.

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

      I didn't know about dmidecode either! I think it's new in this revision of the Linux+ objectives, because I don't remember teaching it last time. I enjoy discovering new tools along the way. Proof that you're never "done" learning! :D

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

    شكرا Thank you

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

    Thanks!

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

      Same comment as before, just, wow. Thank you, very, very much.

  • @Kaneo_3987
    @Kaneo_3987 2 месяца назад

    Fantastic video!

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

    how accurate is dmidecode? on one of my machines it is saying i can have more memory than the manufactures specs say online.

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

      I'd guess it's a 1024 vs 1000 thing...

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

    So, canbus protocol is a character device then?

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

      I’m not familiar with canbus, but a quick google seems to verify it can be. Or it can use a network socket, which is a whole other video :)

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

      @@shawnp0wers yeah, canbus got me back into computers after 3 decades. It is essentially responsible for me finding Linux. I wanted to use arduinio to build a sensor for my car and all I had for a computer was my old Mac mini 5.1 from 2011 . I could update it to high Sierra, but that was it. I was messing with my partitions and oops. Now I am running MX Linux . It works great. Thanks for your videos and all your hard work.
      P.s. hows the health? Kicked the covid completely?

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

    what is buffering and non buffering means ?

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

      Without watching the video back, I think we're talking about memory usage? Buffered means, "I don't need this information anymore, but since I don't need the RAM for anything else right now, I'm going to leave the information in memory in case I need it again shortly"
      That's the reason a program usually starts quickly if you open it right after closing it. Most of its information is still buffered in RAM. Hopefully that makes sense.

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

      @@shawnp0wers block devices use buffer characters file don't use buffer

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

      @@Duha_01 OH, right. The block devices buffer, which means they're not as "real time", but can more efficiently transfer large amounts of data (but sending in bundled chunks). The character devices just sorta shoot out like a firehose. Faster response time, but can't handle as much sustained throughput as a buffered block device.
      That's not a perfect explanation, but hopefully makes a bit of sense.

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

    Thanks!

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

      Ok, I've officially changed my middle name to Michael. Because "thank you" seems insufficient at this point.
      (NOTE: Ok, my middle name was already Michael, but still... seriously, thank you so much.)

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

    I have been having issues understanding concepts taught from udemy course. This channel has been very helpful.

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

    Seriously, great content!