What is the difference between Cmd, PowerShell, and Bash? | One Dev Question

Поделиться
HTML-код
  • Опубликовано: 20 авг 2024
  • What's the difference between Cmd, Powershell, and Bash? Hmmmmm, sounds like a good question for Rich Turner. Listen in to hear his answer. Lots more command line thoughts from Rich in his blog posts here: msft.social/uArL72

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

  • @jubyjacob9669
    @jubyjacob9669 3 месяца назад +2

    you explain so kindly and simply for any beginner to understand.
    It shows your level of high expertise.

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

    Thanks for explaining in sign language as well, it really helped.

  • @SMC4free
    @SMC4free 4 года назад +44

    I love this guy. Short video, very informative and helpful. Thank you :)

  • @aditya-garg
    @aditya-garg Год назад +3

    Short ,crisp and to the point.Amazing 👌

  • @edmel144
    @edmel144 3 года назад +3

    Good to the point intro on 'shell' differences.

  • @belliott88
    @belliott88 3 года назад +8

    Thank You, so much, for clearing this up for me. I'm currently preparing to do some serious dev work, and i'm integrating my VSCode with my GitHub Desktop, natively, and I needed to choose between these three in one of the options windows. You made choosing easy for me.

    • @kanjinha
      @kanjinha 3 года назад +1

      which one have you chosen?

    • @buumajin8850
      @buumajin8850 3 года назад

      Yea what did you choose

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

      i am looking for partner who want to learn bash through co opearation

    • @SilviuIT-tn3dn
      @SilviuIT-tn3dn 10 месяцев назад

      wondering what serious dev work you had, while you had this "serious problem" ROFL!

  • @amjadelhassan6967
    @amjadelhassan6967 3 года назад +3

    Very Well-Said. straight and to the point!

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

    Great, now I need to look for "rich object."

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

    I swear his last line says "...and is becoming very poorly adopted." 🤣

  • @dryanwarrener
    @dryanwarrener 4 года назад +31

    Sooo...powershell is basically an updated version of CMD? If so, why not just remove CMD completely???

    • @JiggywattArt
      @JiggywattArt 4 года назад +27

      Same reason why Windows 10 is such a mess.

    • @zoranls
      @zoranls 4 года назад +8

      Jiggywatt still better than mac os

    • @martinfabian9856
      @martinfabian9856 4 года назад +3

      By the same reason you can't complety unistall candy crush game app.

    • @GreenStorm01
      @GreenStorm01 4 года назад +2

      PowerShell is much more than that - it is a whole script language

    • @Julietmateus
      @Julietmateus 4 года назад +14

      @Nuvallo Removing IE entirely would kill a lot of the things you run on your PC. For instance, when you completely remove your IE it'll make League of Legends stop working due to their storefront actually using IE in client to work. Additionally, Edge now runs on Chromium and really is the exact same as Chrome without Google integration.
      We now know that they're working on an additional new Terminal called "Terminal" that is an updated PowerShell GUI. That should be replacing both. It's also worth noting that you can run BASH inside of PowerShell as well as the new Terminal.

  • @moonmonoar5000
    @moonmonoar5000 8 часов назад

    I am a long time windows user about 5 years. Yet I became families solely to the terminal and its power through WSL Ubuntu, not through windows. It's confusing, some bash like commands execute in the Terminal, while not in cmd. Some work in cmd but not in Powershell. Too confusing.

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

    I really love powerful shell as a linux user it didn't take me too long to get used to it

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

    can't focus on the content yet, too distracted by Rich's totally believable and cool shirt on shirt action. also two watches.

  • @abrahamalaniz3468
    @abrahamalaniz3468 3 года назад +1

    2006, and it was first called Monad (Powershell). Biggest difference is how it deals with the "text" in the console that's displayed. Unlike bash, and cmd, Powershell uses objects to work with instead of just text.

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

    Short and informative.
    Thanks!

  • @user-vl1fg2qk4p
    @user-vl1fg2qk4p 28 дней назад

    Hilarious, thanks for the guidance businessman

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

    Two watches is powerful Microsoft energy

  • @dexterkeano
    @dexterkeano 3 года назад +1

    Perfect, thank you!! ;)

  • @sc100200090
    @sc100200090 5 лет назад +15

    No doubt Bash is the best! However, it's only the black terminal box that sure makes me travel back in time, making me feel as if using MS-DOS in school life!

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

    Thank you. Good info.

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

    how CMD limited? we dont understand what he said the difference? thanks to explain

  • @rafaelh9012
    @rafaelh9012 3 года назад +1

    When i write a script with cmd I can easily save it as .cmd file and launch it with a double click. Why isn't that possible with powershell?

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

      It is just a “security” feature. You have to create another .cmd file and call the .ps1 file.

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

    Not clear, can Microsoft show how different inside the CMD, Powershell and Bash?

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

    Very helpful 😄👏

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

    thanks !

  • @SXZ-dev
    @SXZ-dev 4 месяца назад

    How difficult would it be for you to just make the Cmd Shell compatible with Unix commands as opposed to MS-DOS commands that are exclusive to your ecosystem and nobody else's. Seriously it's the main reason people turn to Apple for developer equipment, we shouldn't need WSL just get the Unix commands to work on the Cmd Shell

  • @mdm8547
    @mdm8547 4 года назад +1

    I am using PowerShell everywhere )) In Windows and in Linux as well.

  • @wisteela
    @wisteela 4 года назад

    And all can be used, and open at the same time in the excellent Windows Terminal.

  • @DeveshKumar-nb6py
    @DeveshKumar-nb6py Год назад

    Bash is for Linux and Mac

  • @holmzcat8493
    @holmzcat8493 4 года назад +2

    Two watches lol!

  • @fecamposano8429
    @fecamposano8429 4 года назад

    magkaano ang 1bttls

  • @PythonPlusPlus
    @PythonPlusPlus 5 лет назад +47

    Bash is superior to Powershell.

    • @chezchezchezchez
      @chezchezchezchez 5 лет назад +7

      u sure?

    • @chuck5761
      @chuck5761 5 лет назад +7

      Opinons differ. Bash commands have virtually no consistency in options so it's much more of a pain to learn. Powershell rocks consistency.

    • @externalprocess
      @externalprocess 5 лет назад +6

      They are different approaches with different strengths and weaknesses

    • @haudiweg
      @haudiweg 4 года назад

      Chuck Wagner use powershell in linux and make with it programmes...

    • @chaminda512
      @chaminda512 4 года назад +1

      It would be nice if you give it a try. After that, your comment will be edited.
      Since. You gonna realize how powerful and consistent Powershell is

  • @Mythologos
    @Mythologos 3 года назад +9

    Bash is easy to use, anyone can learn it and opens the entire system up to you - Powershell is a torturous insane asylum that does zero out of the box and is near impossible to set up and configure and always looks ugly.

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

      Pretty much a Linux vs Windows thing.

    • @marredcheese
      @marredcheese 3 года назад +8

      Weird, I had the exact opposite experience.

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

      me who uses the fish shell

    • @sub-harmonik
      @sub-harmonik 2 месяца назад

      you should use windows terminal with powershell rather than the terminal it comes with.
      The fact that it does less is more of an issue with the programs and paths on your computer, not the shell itself. What does it 'not do'?

    • @growtocycle6992
      @growtocycle6992 11 дней назад

      ​​@@sub-harmonik I think the main issue is that many programmes that exist were written for Bash, and hence are not directly transferable to PowerShell which deals with processing via objects and not lines of text??
      Programs need to be heavily modified to run in PowerShell??

  • @HeenaPatel253
    @HeenaPatel253 4 года назад

    Cmd best

  • @ShivamPanchbhai
    @ShivamPanchbhai 3 года назад

    what he is wearing inside the T-shirt? another T-shirt?

  • @Hdhdh-hk1tj
    @Hdhdh-hk1tj Год назад

    Thanks for the explanation. I understood nothing.

  • @lorapora
    @lorapora 4 года назад +2

    anyone find his hand gestures mimicking typing funny?

  • @joelmamedov404
    @joelmamedov404 5 лет назад +3

    Some years ago I tried to open relatively large (100M) text file with PowerShell. It struggled for a while and crashed. I had 16 GB memory in my workstation. A typical low-class Microsoft product. I never tried Powershell since then and I hope never will have to. Simple and old "vi" is smart enough not to load everything from the large file at ounce.

    • @ByronScottJones
      @ByronScottJones 4 года назад +4

      I routinely handle files ten to twenty times that size without issue. I can't say what the issue is that you were having, but it wasn't powershell.

    • @sub-harmonik
      @sub-harmonik 2 месяца назад

      what do you mean 'open a large text file with powershell'? powershell is not a text editor. I use powershell and open neovim from it and it works fine aside from some minor diff highlighting issues and having to configure the shell integration a little bit

  • @user-bw9wk8cc6v
    @user-bw9wk8cc6v 5 лет назад +4

    Your hand gestures are distracting lol

  • @undernightcore
    @undernightcore 5 лет назад

    Well, if a dev asks himself this idk if he's a dev at all...

    • @OrnateOwl
      @OrnateOwl 5 лет назад +23

      r/gatekeeping r/iamverysmart

    • @ErichKramer
      @ErichKramer 3 года назад

      All knowledge has to be learned, the order rarely matters.