this post was submitted on 26 Aug 2023
16 points (100.0% liked)

Programmer Humor

23082 readers
2036 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
 
top 34 comments
sorted by: hot top controversial new old
[–] candyman337@sh.itjust.works 3 points 2 years ago (3 children)

I like that you actually can ls in power shell now

[–] TheChefSLC@lemmy.sdf.org 2 points 2 years ago

Yes, yes you can.

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

[–] ox0r@jlai.lu 1 points 2 years ago (2 children)

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

[–] affiliate@lemmy.world 1 points 2 years ago

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

[–] ______@lemm.ee 1 points 2 years ago (1 children)

Unfortunately, bash syntax isnt amazing either

[–] newIdentity@sh.itjust.works 1 points 2 years ago (1 children)
[–] ______@lemm.ee 1 points 2 years ago (1 children)

Yeah. I've said this before and got grilled for it but I wish there was a shell scripting language that doesn't have arcane syntax.

[–] echindod@programming.dev 1 points 2 years ago

Fish? I like fish.

[–] hemko@lemmy.dbzer0.com 0 points 2 years ago (1 children)

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

[–] over_clox@lemmy.world 0 points 2 years ago (1 children)

mkdir is literally a DOS command homie.

[–] elvith@feddit.de 0 points 2 years ago

Isn't it md and mkdir is just an alias in Powershell to accommodate Linux users?

[–] Paragone@programming.dev 1 points 1 year ago

https://duckduckgo.com/?q=gnu+utils+for+windows&t=fpas&ia=web

That's what I used, back when I still had MS-Windows installed...

feels good to say "it's been years", tho...

( :

_ /\ _

[–] Nioxic@lemmy.dbzer0.com 1 points 2 years ago (3 children)
[–] Nintendo@lemmy.world 3 points 2 years ago (1 children)

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

[–] Nioxic@lemmy.dbzer0.com 1 points 2 years ago

I apologize. I didnt mean to offend anyone!

[–] AnUnusualRelic@lemmy.world 1 points 2 years ago

Why are DOS commands always so verbose?

[–] lugal@sopuli.xyz 0 points 2 years ago (1 children)
[–] nodiet@feddit.de 0 points 2 years ago (1 children)
[–] lugal@sopuli.xyz 0 points 2 years ago (1 children)

Achso, schade, aber kann man nichts machen

[–] shasta@lemm.ee 0 points 2 years ago (1 children)

Cmd? What century is this? Use powershell

[–] Rolive@discuss.tchncs.de 0 points 2 years ago (1 children)

My brain is still hardwired to do Win+R CMD Enter..

[–] tfw_no_toiletpaper@feddit.de 0 points 2 years ago

My brain is hardwired to win+X -> A lol

[–] gandalf_der_12te@feddit.de 0 points 2 years ago

Memories we all share.

[–] dylanTheDeveloper@lemmy.world 0 points 2 years ago (1 children)
[–] Thorgs@feddit.de 0 points 2 years ago

We all have been there and we all have been disappointed by it. Most of the time when I encounter a system with OS related problems I still run sfc but only for the logs and not in the hope that it dose anything useful by itself or the accompanying commands. After that it's most of the time OS refresh or full wipe depending on the problem and state of backups. Good thing SFC takes now days only a minute or less with M.2 NVME SSD.

[–] vox@sopuli.xyz 0 points 2 years ago* (last edited 2 years ago) (1 children)

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

[–] squaresinger@feddit.de 1 points 2 years ago (1 children)
[–] shasta@lemm.ee 1 points 2 years ago (1 children)
[–] squaresinger@feddit.de 1 points 2 years ago

Because Wine makes it possible ;)

Nah, mine was a joke on how Microsoft published Powershell on Linux and somehow thought that anyone was gonna use it.

[–] 01189998819991197253@infosec.pub 0 points 2 years ago (1 children)

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

[–] jasondj@ttrpg.network 0 points 2 years ago (1 children)

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.

[–] jvisick@programming.dev 0 points 2 years ago (1 children)

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

[–] JustBrian7872@feddit.de 0 points 2 years ago

Classic PoweShell experience. Try rm -rf - I wonder why they added the aliases in the first place. Only frustrating to type different arguments which are also more verbose. Tastes like the good ol' embrace-extend-extinguish.