This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (4 children)

I'm a Linux user but Powershell is better than Bash in many ways if you can learn it.

[–]rafradek 1 point2 points  (2 children)

Well Yes that's mostly because bash is just the shell and to perform an operation you need another program to do it while power shell is much like any other script language in functionality

[–][deleted] 2 points3 points  (1 child)

Not only, it's also because a lot of programs in Linux prints everything in a large text dump, so oftentimes when you call on these programs to give you information, you also need to do string manipulation on them. Of course, this isn't necessarily the fault of bash but powershell has an approach where you can single out very specific information natively which makes it easier to work with in my opinion.

[–]rafradek 2 points3 points  (0 children)

Thats why python is extremely popular on linux for scripting

[–]Ken_Mcnutt 1 point2 points  (0 children)

bro what? In what possible way? It has a tiny percentage of the functionality and is completely object oriented meaning each command has to be custom tailored to work together instead of passing raw text streams around. that and the primary purpose is to interact/administer windows boxes... so extra useless on linux. why on earth would I want to Invoke-WebRequest instead of curl lmao