• Successful_Try543@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Yes and no: No, on WSL, it’s the wsl command executed in the MS Windows PowerShell, that will give you the Linux command prompt.

      Yes, from there on, the commands to be executed within the shell are identical.

        • Digit@lemmy.wtf
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          I’m not a WSL user, but I presume it lets you run any shell that’s installed and available to its $PATH.

          So if you want to do the commands in bash, and you’re not in (or not sure if you’re in) bash, you can just type bash into the terminal prompt of whatever currently running shell, hit enter, then you’re in bash. Or for fish, or whatever else.

          (ps, my personal preference encouraged, yes, in general, use fish (where suitable [~ different usecase to wanting to specifically use “Git Bash”, like in OP’s link’s first step, I presume]), fish’s more human friendly in syntax and interactivity.) ;)

        • Successful_Try543@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 months ago

          Yes, whatever shell your WSL is using. Usually, it should be the Ubuntu default Bash, but if you happen to have chosen a distro that uses Fish or installed it yourself, it’s Fish.