logoalt Hacker News

lelandbatey • today at 5:17 PM • 2 replies • view on HN

None of those have the #1 best thing bash is good at: bash is already installed, nushell and fish are not.

Powershell is, as I understand it, not available on Linux but is omnipresent on Windows, so hopefully the windows folks can use it like they would bash.


Replies

yjftsjthsd-h • today at 5:24 PM

No, powershell runs on Linux, it just sucks because it wants objects and everything on *nix speaks streams of text.

barrkel • today at 6:19 PM

PowerShell works on Windows because of WMI, to a first approximation.

Because Windows is tied together through APIs and databases and not text files (unlike Linux), everything is text is not as useful as something that can talk objects. And a lot of Windows is object oriented, from the window message dispatching system through COM and down to NT's object manager.