this post was submitted on 05 Mar 2025
1566 points (99.0% liked)

Programmer Humor

21027 readers
3155 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 6mementomorib@lemmy.blahaj.zone 9 points 21 hours ago (2 children)

i used powershell, and even after trying every other shell and as a die hard Linux user I've considered going back to powershell cause damn man

[–] ronflex@lemmy.world 3 points 18 hours ago

I am a huge fan of using PowerShell for scripting on Linux. I use it a ton on Windows already and it allows me to write damn near cross-platform scripts with no extra effort. I still usually use a Bash or Fish shell but for scripting I love being able to utilize powershell.

[–] MajorHavoc@programming.dev 4 points 21 hours ago

Yeah. The best way to write any bash script is:

apt/yum install PowerShell; pwsh script.ps1