I like that you actually can ls in power shell now
Yes, yes you can.
Also, WSL and windows terminal go a very long way in making windows actually usable...
"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
Just add Winget with an UI to have a proper package manager and we're in
Package manager with a UI? I like my apt and dnf thank you very much.
You can still use winget by itself from the command line! The UI is just there for convenience and automation
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.
Yeah but tbh i really despise powershells syntax. But i'm happy it is pretty powerful.
i’m often amazed at microsoft’s ability to take a useful product and make it agonizing to use
Unfortunately, bash syntax isnt amazing either
As long as you don't have ls
aliased to ls -la
in your brain...
If you can suppress 30 years of " -al" from following his buddy.
use powershell (specifically the core version!!!), or even better something like Nu shell
Add ls.bat in your windows directory with dir as the source. It basically acts as an alias.
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
.
Thank Microsoft for PowerShell
Cmd? What century is this? Use powershell
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!
What year is this from? You absolutely can use ls in a windows command prompt now.
As of Aug 26, 2023, Windows command prompt absolutely does not recognize “ls” as a command.
Powershell is a different story.
Source: I type “ls” 40 times a day into a command prompt on my up-to-date win10 PC at work.
The year is 2023, if you're still using CMD or batch files still that's on you. It's like riding a horse down a freeway and yelling at cars.
I literally just typed it into cmd.exe on Windows 10, fully updated, and it absolutely did work. No idea why it doesn’t work for you.
edit: ???
edit: it's been traced back to this:
https://github.com/devkitPro/installer/releases
which is an emulator toolset that I didn't know existed on my system until today.
God everytime!
It'll always be "Bad command or file name" to me.
Yes but it can do "cd.."
Programmer Humor
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics