- cross-posted to:
- linuxmemes@lemmy.world
- cross-posted to:
- linuxmemes@lemmy.world
cross-posted from: https://piefed.zeromedia.vip/c/linuxmemes/p/430708/roll-for-perception
cross-posted from: https://piefed.zeromedia.vip/c/linuxmemes/p/430708/roll-for-perception
ls works on Windows just fine. PowerShell understands this command since a long time, maybe even since the very beginning (not looking through the git commits, just to find out).
heck, you’re right.
also dir works on linux but it is not as pretty, (i am finding out as we speak)
This meme is pivoting to education bait?
Powershell is starting to become more common. But simple directory listing is actually much faster in cmd as Powershell treats everything as an object while cmd just dumps the contents as text.
Well who uses powershell? Common people open command prompt and it doesn’t support ls.
Windows Terminal is shipped with Windows and defaults to PowerShell. Too bad Windows ships some ancient PS version by default but
winget install Microsoft.PowerShellisn’t that complicated.I can tell it’s been a while since you used windows 😁.
Some of us are forced to btw.
Modern “command prompt” on windows is called Terminal and supports both PowerShell and CMD commands.
And will open Ps by default unless configured otherwise.
I will try it at work tomorrow.
Terminal is just the tabbed app to open any command line interface.
Yes
Oh, man, don’t.
Powershell is so less worse, it does not even compare.
Who is the “common person” listing directory contents via the command line instead of the explorer window?
Hi it is me. When you have 500 files in a folder sometimes
dir Jobnumber_string*.part is faster than using explorer
Tech workers
I don’t. Not that this has to be true for others but I use the command line for
ping,ipconfig, andwinget.I remember living in a place with such shitty internet I had scripts for ipconfig release and renew on my desktop because I needed them five times a day.
I manage hundreds of windows server VMs as a matter of routine. At that scale the efficiency of the command line wins out.
You could define Powershell as the default shell in Windows 10, so that you wouldn’t need to explicitly invoke it every time - although, which (non-technical) user does this?
Windows 11 changed the default to Powershell so that you’ll always land in Powershell and need to invoke the old CMD explicitly. Also the new Terminal (optional in Win10, Default in Win11) defaults to Powershell.
Wait. I always just invoked cmd explicitly to get the command prompt. What the hell was I supposed to be doing to get the command prompt