29

I have used bash, zsh, ksh, and now powershell. I am by no means an expert on UNIX shells. I could get all my work done on any one of these. My main shell is Zsh with some oh-my-zsh plugins because I'm lazy. What can you do in powershell that you can't do in any other shell? Also, does the shell you use even matter? Sorry if this is a dumb question.

you are viewing a single comment's thread
view the rest of the comments
[-] gratux 30 points 2 weeks ago

My current stance is that if your task is complex enough to require the advanced features powershell offers, it should probably just use Python or similar programming languages instead of a shell script. Hell, I'd even argue that is almost exactly what Python is for: it is simple to hack something together while offering powerful stuff in its standard library and common packages.

[-] nazgul666@lemmy.world 3 points 2 weeks ago

From an enterprise IT stance I'd disagree. For phython you need an interpreter, while powershell is available on every random windows 20xx server. It is far easier to do this task in PS than requesting the python interpreter to be installed on the machine and then doing it in python.

[-] possiblylinux127@lemmy.zip 7 points 2 weeks ago

Unless you are on a Linux box

[-] nazgul666@lemmy.world 1 points 2 weeks ago

Yes sure! Unfortunately most companies which I work for (insurance and banks mostly) still use windows quite often...

load more comments (4 replies)
this post was submitted on 24 Mar 2025
29 points (100.0% liked)

Linux Questions

1569 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS