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

Programmer Humor

21016 readers
2024 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
[–] [email protected] 9 points 20 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

[–] [email protected] 4 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.

[–] [email protected] 4 points 20 hours ago

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

apt/yum install PowerShell; pwsh script.ps1