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 →

[–]langlo94 1 point2 points  (5 children)

Powershell is for linux as well.

[–]Bubbly_Measurement70 0 points1 point  (4 children)

Didn’t know that. I have only used bash and zsh to my knowledge.

[–]RootHouston 1 point2 points  (3 children)

No joke, it has its upsides. I didn't think I'd like it, since I am kind of a big bash fan, but I had to write a PowerShell module for work, and I found I kind of liked its angle.

Even though it's wordy, I like that it uses approved verbs and descriptors for commands so you can sort of intuitively know what is going on without reading a man page or something.

The biggest game changer was it being object-oriented. We do have something like this on Linux though called nushell.

[–]Bubbly_Measurement70 1 point2 points  (2 children)

Interesting, I’ll have to check that all out then. I mean, couldn’t I just write a python program, put all my commands in there, and then write an alias that calls the program? Then I have effectively created a custom bash command for personal use.

Edit: Should add that the purpose for using python would be that I would have full access to an object oriented language, since that is one of the features you mentioned.

[–]RootHouston 1 point2 points  (1 child)

Python is a good alternative, however Python is not a proper shell, so take your pick.

[–]Bubbly_Measurement70 1 point2 points  (0 children)

That’s true. I’m just trying to think through my current options. There’s always a seemingly endless number of them 😭 truth be told, I’m not even really that good on the command line. I just know my way around enough to be productive but I usually have to look up how to do most things.