1492
Hallelujah (lemmy.world)
top 50 comments
sorted by: hot top controversial new old
[-] candyman337@sh.itjust.works 182 points 10 months ago

I like that you actually can ls in power shell now

[-] TheChefSLC@lemmy.sdf.org 59 points 10 months ago

Yes, yes you can.

Also, WSL and windows terminal go a very long way in making windows actually usable...

[-] Zeth0s@lemmy.world 53 points 10 months ago

"Usable" is a strong statement... It went from a "misery inducing insufferable machine" to a "extremely big annoyance". I do concede it is anyway a progress

load more comments (1 replies)
[-] csolisr@communities.azkware.net 23 points 10 months ago

Just add Winget with an UI to have a proper package manager and we're in

[-] DJArbz@lemmy.notmy.cloud 16 points 10 months ago

Package manager with a UI? I like my apt and dnf thank you very much.

[-] csolisr@communities.azkware.net 7 points 10 months ago

You can still use winget by itself from the command line! The UI is just there for convenience and automation

[-] Kangie@lemmy.srcfiles.zip 12 points 10 months ago

The UI is just there for ... automation

Wut?

I've never gone to a UI when I want to automate something, a sane CLI is much more predictable and consistent.

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)
[-] Scrof@sopuli.xyz 24 points 10 months ago

PowerShell 7 is pretty sweet ngl

load more comments (6 replies)
[-] Kangie@lemmy.srcfiles.zip 24 points 10 months ago

As long as you don't have ls aliased to ls -la in your brain...

[-] ox0r@jlai.lu 22 points 10 months ago

Yeah but tbh i really despise powershells syntax. But i'm happy it is pretty powerful.

[-] affiliate@lemmy.world 35 points 10 months ago

i’m often amazed at microsoft’s ability to take a useful product and make it agonizing to use

[-] ______@lemm.ee 19 points 10 months ago

Unfortunately, bash syntax isnt amazing either

[-] newIdentity@sh.itjust.works 17 points 10 months ago
load more comments (4 replies)
[-] Yearly1845@reddthat.com 12 points 10 months ago

Bash came out decades ago and powershell is brand new. It doesn't really have an excuse to suck.

[-] ______@lemm.ee 6 points 10 months ago

I hope I didn't come across as defending ps. PS sucks and whoever decided to have functions use capital case with dashes in between needs to have their brain scanned

load more comments (2 replies)
[-] Halafax@kbin.social 13 points 10 months ago

If you can suppress 30 years of " -al" from following his buddy.

[-] Ew0@lemmy.sdf.org 17 points 10 months ago* (last edited 10 months ago)

That's actually "-la", pal.

load more comments (3 replies)
[-] spez@sh.itjust.works 8 points 10 months ago
[-] candyman337@sh.itjust.works 45 points 10 months ago* (last edited 10 months ago)

I'm so sorry but this is how I pictured your response lmao

Image

[-] SatyrSack@lemmy.one 34 points 10 months ago* (last edited 10 months ago)
load more comments (1 replies)
[-] spez@sh.itjust.works 8 points 10 months ago
[-] hemko@lemmy.dbzer0.com 6 points 10 months ago

Also rm, cat, mkdir, cd, curl, what else

[-] Nioxic@lemmy.dbzer0.com 54 points 10 months ago
[-] Nintendo@lemmy.world 52 points 10 months ago

what did you say? say that again to my face, I dare you.

load more comments (1 replies)
[-] AnUnusualRelic@lemmy.world 26 points 10 months ago

Why are DOS commands always so verbose?

load more comments (1 replies)
[-] SturgiesYrFase@lemmy.ml 20 points 10 months ago

Well that's rude.....

[-] thepianistfroggollum@lemmynsfw.com 12 points 10 months ago

Too many letters

load more comments (1 replies)
[-] vox@sopuli.xyz 38 points 10 months ago* (last edited 10 months ago)

use powershell (specifically the core version!!!), or even better something like Nu shell

load more comments (4 replies)
[-] 01189998819991197253@infosec.pub 34 points 10 months ago

Add ls.bat in your windows directory with dir as the source. It basically acts as an alias.

[-] jasondj@ttrpg.network 23 points 10 months ago

Still won’t help me when I type ifconfig or dig, though.

Also I’ve noticed there is also a curl in Windows CLI that I believe is based on libcurl, but when called from powershell is an alias for (iirc) Invoke-WebRequest.

[-] w2tpmf@lemmy.world 17 points 10 months ago

ifconfig doesn't even work in a lot of Linux distros anymore.

[-] jvisick@programming.dev 6 points 10 months ago

I came across this one just yesterday and while it was convenient at first, I immediately got frustrated when I went to add some parameters and discovered it wasn’t actually curl

load more comments (2 replies)
[-] over_clox@lemmy.world 31 points 10 months ago* (last edited 10 months ago)

echo @dir %1 %2 %3>%windir%\system32\ls.bat

Something like that should fix the problem, I think...

[-] stark@qlemmy.com 19 points 10 months ago

Thank Microsoft for PowerShell

[-] shasta@lemm.ee 18 points 10 months ago

Cmd? What century is this? Use powershell

[-] stevedidWHAT@lemmy.world 11 points 10 months ago

I’m gonna take it a step further and say to use the new Terminal app from the winapp store which lets you integrate ALL command lines into one app and it looks snazzy to boot!

Check it out mother fuckers!

load more comments (5 replies)
load more comments (7 replies)
[-] WhiskyTangoFoxtrot@lemmy.world 7 points 10 months ago

It'll always be "Bad command or file name" to me.

[-] NotYourSocialWorker@feddit.nu 7 points 10 months ago

Yes but it can do "cd.."

load more comments
view more: next ›
this post was submitted on 26 Aug 2023
1492 points (97.5% liked)

Programmer Humor

18253 readers
750 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 1 year ago
MODERATORS