this post was submitted on 13 Dec 2024
768 points (98.0% liked)
linuxmemes
21570 readers
711 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
As a Linux user, I shit on Linux tutorials being obtuse because the solution is often like "then sudo [command]" and now run these 8 other commands. But at least with Linux commands, a smart person can piece together what's going on.
Windows, it's even worse. It's like a bunch of black boxes talking to other black boxes so after you right click to enable that property and add this registry key, you then have to reboot into your bios to turn on "Fuckboi" mode and take photos of your asshole for verification, then log into your Microsoft account to get this Powershell script and now you can finally see your children again.
And to add insult to injury, many of the issues in Windows are just "I don't want to do this the way MS wants everyone to do this."
There is still not a neat replacement for wmic in PowerShell. If I want to do the equivalent of
wmic product where name="some shitware" call uninstall
it looks like this:$instance = Get-CimInstance win32_process -Filter "Name = 'powershell_ise.exe'" $instance | Invoke-CimMethod -MethodName 'Terminate'
Like how the hell is that easier to understand Microsoft? Everything else in PowerShell follows a general pattern of Upper Camelcase.
That's just one instance of what I've found working with pwsh at work that leaves me thinking wtf
i also hate powershell, batch all the way. @echo off i my anthem now
I used to love batch as a kid. One time I was feeling devious so I wrote out a little script that deletes system32 and I emailed it to a classmate. I immediately burst into tears after hitting send and called her to let her know to delete the email.