What Is a Shell

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

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

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

    Thank you, there are so many awful videos on this topic on TH-cam. This actually explained it very clearly.

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

    This actually clears up some confusion I've had since I was a kid digging around with CMD.

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

    awesome explanation!
    EDIT (after having watched a few other videos): no bullshit-bingo, no buzzwords. You can tell he knows what he's talking about.

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

      Thanks! Glad that it's helpful. This is what I love to do. :)

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

    Incredible explanation. I'm surprised this video has only 6k views

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

    AWESOME MAN!!!!!

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

    So just to clarify, command prompt and terminal on windows and unix, respectively... these are command line interface, but they also run the shell such as bash which is the command line interpreter? But say when I run something like cd.., or mkdir, or cat, that application in itself is not part of the shell, but rather what the shell calls? Is that correct?

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

      CMD is the name of the default classic Windows shell. Without a shell, you would see nothing. It is the shell itself that allows you to type commands. Windows Terminal is a shell "holder", it has to run CMD or PowerShell to do anything. But it can run either. The terminal provides the look and feel graphically, the shell is what takes any input and provides any output.
      Often tools like cd, cat or dir are built into the shell, but not always. Most things that you call, though, like top, grep, less, more, lsof, netstat, ping, and so forth are just applications that you are calling from the shell.

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

    Term always confused me. Very well explained, ty!

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

      You are so welcome!

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

    doing the odin project, and they article they had linked explaining shells gave me a headache. this helped a ton

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

    Thank you for this and level of detail that you went into to explain the term

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

    great video! Now, I do have a question. You mentioned that shells are only calling other programs to make them do their job, that I understand. But are commands like "cd" or "ls" included into the bash shell or those standalone programs as well?

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

      In theory, anything "could" be built into a shell as a sub routine rather than as an external program. But with cd and ls, for example, on Linux use the "which" command to look up their path. Both of those commands exist as independent programs in the file system. So they are external. But some special shells, like BusyBox build them in.

  • @art_math_enjoy
    @art_math_enjoy 7 หลายเดือนก่อน +1

    Thanks Sam for the very helpful explanations of shell, I enjoyed as well

    • @samit8178
      @samit8178  6 หลายเดือนก่อน +1

      You are very welcome!

  • @DeepSandhu-dt4mk
    @DeepSandhu-dt4mk ปีที่แล้ว

    Very well explained, it really clears the concept, thanks

  • @ghaidaa.s.m3922
    @ghaidaa.s.m3922 5 ปีที่แล้ว +1

    Hello Please tell me Shell is a command interpreter?

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

      That's correct. Either command line or graphic command interpreter for accessing the OS functions.

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

    The outer layer analogy is confusing me a bit. Is it correct to think of a shell as a program that takes commands from a command line interface or GUI and forwards these commands to a software that has been programmed to receive this particular shells commands? May it be File Explorer, 3rd party software etc.

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

    Much respect to you bro. You broke it down very well

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

    Very helpful video!

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

    Great explanation, thanks

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

      Glad it was helpful!

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

    Did you just say that bash and KDE Plasma are both shells? You just changed they way I look at the world.

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

    How do I install Bash? I downloaded a .sig file from www.gnu.org and have no idea where to go from here.

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

      NM. found a way to use it via Windows 10. community.spiceworks.com/how_to/148352-how-to-install-bash-on-ubuntu-on-windows-in-windows-10

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

      That's BASH on a VM, not on Windows. That will be completely misleading.

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

    thank you very much !!! great explanation

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

    Nice explanation about shell!

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

    Thanks a lot

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

    Thanks so much!

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

      You're welcome!

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

    on point

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

    Good explanation. Here is also a video that illustrates your point in a more technical fashion: th-cam.com/video/EEvY9pptM5Q/w-d-xo.html