It gets better. PowerShell 5, which is still the default installation on Windows 11, aliases curl and wget to Invoke-WebRequest. The fucked-up part is that Win11 includes the real curl too, but the alias shadows it, and you have to use curl.exe. The even more fucked-up part is that Invoke-WebRequeststill uses Internet Explorer to parse the result, and will panic if -UseBasicParsing is not passed every time, or IE isn’t installed and initialized.
I used to develop applications in PowerShell. I still wear the mental scars.
The even more fucked-up part is that Invoke-WebRequeststill uses Internet Explorer to parse the result, and will panic if -UseBasicParsing is not passed every time, or IE isn’t installed and initialized.
Mint comes with dir aliased for ls, and the only other one I regularly use is cls for clear.
Yes I grew up on DOS, how can you tell?
I got used to all the other Linux commands, but I had to make an alias for md=mkdir. Why that already isn’t a thing is beyond me.
Powershell does the opposite, having an alias from
lsto whatever the powershell equivalent ofdiris.It gets better. PowerShell 5, which is still the default installation on Windows 11, aliases
curlandwgettoInvoke-WebRequest. The fucked-up part is that Win11 includes the realcurltoo, but the alias shadows it, and you have to usecurl.exe. The even more fucked-up part is thatInvoke-WebRequeststill uses Internet Explorer to parse the result, and will panic if-UseBasicParsingis not passed every time, or IE isn’t installed and initialized.I used to develop applications in PowerShell. I still wear the mental scars.
That is absolutely horrifying.
And
curl, and several others