Live data from Hacker News

PowerShell is open sourced and is available on Linux

azure.microsoft.com

41–50 of 790 posts

Re: PowerShell is open sourced and is available on Linux

#42
post #9

I'm always in favor of things being open-sourced, but I do kind of wonder in what universe I would use PowerShell when Bash is readily available.

It is just another tool in the toolchest. As you know, on Linux, there are tons of great interactive shells and it is sortof a lifestyle choice. You might want to kick the tires and see whether it fits your lifestyle or not. If you use Bash as your shell, think of PowerShell as you would python or perl - something you write scripts in and call from Bash.

Jeffrey Snover [MSFT]

Re: PowerShell is open sourced and is available on Linux

#45
People laugh at me when I tell them I switched "back" to Windows after decades of Unix and Mac programming. But it's a really good, productive platform. Microsoft really seems to be heading in the right direction now.

I hope .NET starts taking off on other platforms, too, because it really is a much better system than Brand "J".

Re: PowerShell is open sourced and is available on Linux

#47
post #37
post #24

Earlier quoted context omitted.

Or just be sane and use ctrl-r and search.

I get the feeling that most users have only accessed 5% of the features available in their unix shell of choice

I would say not just the shell but most software

Re: PowerShell is open sourced and is available on Linux

#48
post #3

I am pretty excited about this as I have few cross-platform languages that I can use (due to conditions at work). I am wondering how many distros will adopt it into their repos.

I fully expect this to be in the AUR in under a week. Probably within 48 hours, even.

Re: PowerShell is open sourced and is available on Linux

#49
post #17

Earlier quoted context omitted.

As a full-time Linux user, I have to say that bash is overrated. For instance, on Windows I could press the up arrow through my history 20x to find a group of commands I want to run, press Enter, then press DOWN for the following command, then enter, then DOWN until I run them all. In Bash, I need to press UP 20x every single time. Yes, you can customize it a lot, and you can script it but default bash isn't that spe…

Bash is awful. But so are shells in general. Even Rob Pike says as soon as your shell program gets longer than a few lines, write it in a proper language.

Citation please? I would love to share this with some of my coworkers.

Re: PowerShell is open sourced and is available on Linux

#50
post #39
post #32

Earlier quoted context omitted.

Is this really so useful in practice? I have never used PowerShell before (nor do I have plans to do so in the near future), but I would imagine the downside is complexity, both for user and especially for developers. With text you just read and parse, while with objects you need to know the object type, its fields,... Whatever happend, I hope text stays here (and I have a bad feeling about it ever since I met system…

Objects are discoverable in powershell. Enter the object, and lists the object out as text.

Yes, this is so awesome. Can't remember the exact parameter/field? Just dump it to the console.
Post reply on HN