Hallelujah
Hallelujah
![](https://lemmy.world/pictrs/image/f69a2d23-9e83-411f-afca-96809a4d329a.webp?format=webp&thumbnail=128)
![](https://lemmy.world/pictrs/image/f69a2d23-9e83-411f-afca-96809a4d329a.webp?format=webp)
Hallelujah
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...
Just add Winget with an UI to have a proper package manager and we're in
As long as you don't have ls
aliased to ls -la
in your brain...
PowerShell 7 is pretty sweet ngl
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.
WSL or bust
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
If you can suppress 30 years of " -al" from following his buddy.
yeah
Also rm, cat, mkdir, cd, curl, what else
Dir?
what did you say? say that again to my face, I dare you.
I apologize. I didnt mean to offend anyone!
Why are DOS commands always so verbose?
Wait till I tell you about Pause
Well that's rude.....
Too many letters
Mir?
Just makes the command prompt climb into a hole
use powershell (specifically the core version!!!), or even better something like Nu shell
In Linux?
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
.
ifconfig doesn't even work in a lot of Linux distros anymore.
echo @dir %1 %2 %3>%windir%\system32\ls.bat
Something like that should fix the problem, I think...
:puke:
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!
Agreed. Terminal is the shite. Makes working in WSL Ubuntu really rewarding.
I've found that powershell doesn't play nice with many command line developer tools so cmd it is.
Yeah powershell is better 95% of the time. But that other 5% of the time you have to go back to CMD and redo what you were attempting. So the work done in powershell is a waste of time 5% of the time, and you still will need to know CMD to be able make everything work.
So Powershell is better in theory, but in actual practice I tend to do things in CMD because I know it will work.
My brain is still hardwired to do Win+R CMD Enter..
You can just press Win key and type whatever to search and enter to open. WIN Term Enter, and there's your Windows Terminal.
My brain is hardwired to win+X -> A lol
Takes way too long to open, have weird issues all the time
Yes but it can do "cd.."
God everytime!
It'll always be "Bad command or file name" to me.
sfc/scannow
Memories we all share.
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...
( :
_ /\ _
But what about Linux subsystem for windows tho
I think you mean the Windows Linux for Subsystem
Those words in that order!
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.
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.
Yes in Windows Server since, IIRC, 2012". No in Windows client versions.
I'm so used to Server commands I sometimes am surprised when commands like logoff
don't work.