What Is a Shell

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 40

  • @Nurr0
    @Nurr0 5 років тому +25

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

  • @kristopherleslie8343
    @kristopherleslie8343 7 років тому +8

    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

  • @art_math_enjoy
    @art_math_enjoy 8 місяців тому +1

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

    • @samit8178
      @samit8178  8 місяців тому +1

      You are very welcome!

  • @spok_7300
    @spok_7300 5 місяців тому +1

    AWESOME MAN!!!!!

  • @TiltyfishPoker
    @TiltyfishPoker 2 роки тому +1

    Term always confused me. Very well explained, ty!

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

  • @DeepSandhu-dt4mk
    @DeepSandhu-dt4mk Рік тому

    Very well explained, it really clears the concept, thanks

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

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

  • @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 років тому +2

      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.

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

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

    thank you very much !!! great explanation

  • @Josh_Foster
    @Josh_Foster 4 роки тому +1

    Very helpful video!

  • @nukpiaedjgzd7437
    @nukpiaedjgzd7437 4 роки тому +1

    Great explanation, thanks

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

  • @christel4497
    @christel4497 3 роки тому +1

    Thanks so much!

  • @williamowusu7778
    @williamowusu7778 10 місяців тому +1

    Thanks a lot

  • @ghaidaa.s.m3922
    @ghaidaa.s.m3922 6 років тому +1

    Hello Please tell me Shell is a command interpreter?

    • @samit8178
      @samit8178  6 років тому

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

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

    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.

  • @ahmedboutaraa8771
    @ahmedboutaraa8771 4 роки тому +1

    on point

  • @fahmidatania1217
    @fahmidatania1217 6 років тому

    Nice explanation about shell!

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

    Good explanation. Here is also a video that illustrates your point in a more technical fashion: ua-cam.com/video/EEvY9pptM5Q/v-deo.html