Or any other alternate shells that aren't bash?

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago (4 children)

PS is much nicer to write scripts. It has QoL

  • source
  • parent
  • hideshow 4 child comments
  • [–] -1 points 1 year ago (3 children)

    Uhhhh...no? It has zero integration on Linux, which is why I asked.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 1 year ago (2 children)

    zero intergration? Thats just wrong. I'd argue you can do anything with PS on linux that you can with bash.

  • source
  • parent
  • hideshow 2 child comments
  • [–] -2 points 1 year ago (1 child)

    Perfect example:

    Bash: sudo dnf install python

    OR

    PS: `Invoke-Expression 'sudo dnf install package-name'

    Stupid to even try and make the argument that PS is a viable solution to anything at all with its ignorant declarations of obvious usage.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 1 year ago*

    With PowerShell on Linux you’d never run dnf starting with Invoke-Expression. It’s completely unnecessary.

    This feels like you either legitimately don’t know how it works so are assuming, or are making it more complicated on purpose to make bash look ‘better’.

    I’m not saying PowerShell should be used on Linux over bash, but your example is not a good one.

  • source
  • parent