1488
Hallelujah (lemmy.world)
submitted 1 year ago by [email protected] to c/[email protected]
top 50 comments
sorted by: hot top controversial new old
[-] [email protected] 183 points 1 year ago

I like that you actually can ls in power shell now

[-] [email protected] 61 points 1 year ago

Yes, yes you can.

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

[-] [email protected] 53 points 1 year 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)
[-] [email protected] 23 points 1 year ago

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

[-] [email protected] 16 points 1 year ago

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

[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 12 points 1 year 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 (1 replies)
[-] [email protected] 24 points 1 year ago

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

[-] [email protected] 23 points 1 year ago

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

[-] [email protected] 36 points 1 year ago

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

[-] [email protected] 20 points 1 year ago

Unfortunately, bash syntax isnt amazing either

[-] [email protected] 18 points 1 year ago
load more comments (4 replies)
[-] [email protected] 12 points 1 year ago

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

load more comments (3 replies)
[-] [email protected] 23 points 1 year ago

PowerShell 7 is pretty sweet ngl

[-] [email protected] 6 points 1 year ago

I really want to love the "everything is an object" of power shell but I just have zero uses for using a shell on windows. Granted, my windows usage is like 15 minutes a week most of the time, but still. I also can't be bothered to use it for work because it's exclusively Linux/linux-ish over there so it's not worth bothering.

Either way, I like the idea, can't really justify figuring out the details.

load more comments (4 replies)
load more comments (1 replies)
[-] [email protected] 13 points 1 year ago

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

[-] [email protected] 17 points 1 year ago* (last edited 1 year ago)

That's actually "-la", pal.

load more comments (3 replies)
[-] [email protected] 8 points 1 year ago
[-] [email protected] 45 points 1 year ago* (last edited 1 year ago)

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

Image

[-] [email protected] 34 points 1 year ago* (last edited 1 year ago)
load more comments (1 replies)
[-] [email protected] 8 points 1 year ago
load more comments (9 replies)
[-] [email protected] 55 points 1 year ago
[-] [email protected] 52 points 1 year ago

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

load more comments (1 replies)
[-] [email protected] 26 points 1 year ago

Why are DOS commands always so verbose?

load more comments (1 replies)
[-] [email protected] 20 points 1 year ago

Well that's rude.....

[-] [email protected] 12 points 1 year ago

Too many letters

load more comments (1 replies)
[-] [email protected] 38 points 1 year ago* (last edited 1 year ago)

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

load more comments (4 replies)
[-] [email protected] 34 points 1 year ago

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

[-] [email protected] 23 points 1 year 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.

[-] [email protected] 17 points 1 year ago

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

load more comments (3 replies)
[-] [email protected] 31 points 1 year ago* (last edited 1 year ago)

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

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

[-] [email protected] 19 points 1 year ago

Thank Microsoft for PowerShell

[-] [email protected] 17 points 1 year ago

Cmd? What century is this? Use powershell

[-] [email protected] 11 points 1 year 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)
[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 7 points 1 year ago

Yes but it can do "cd.."

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

Programmer Humor

19166 readers
625 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