"Let's give our new command line app the same name as a popular linux command even though it's not the same app and behaves differently. I'm sure our users would appreciate it when they have problem with the app and trying to search the solution later."
To be consistent with Powershell's command structure, they should call it "Get-Access" or something similar...
Given the horrible verbosity of PS utils, I'd expect they just abandon subtlety and call it Substitute-User-Do-Operation
Can we truncate it to Get-Ass?
> Set-Alias -Name Get-Ass -Value Get-Access
> Get-Ass
Get-Access : Access is denied. (Exception from HRESULT: 0x00000000 (E_ACCESSDENIED))
"Because we are Microsoft, the company known for giving its products perfectly reasonable and not confusing names"
Sentinel, Defender (not the AV, lol), Entra. I hear these daily in meetings and don't know what the hell they are. (Not my job)
I think Google's the worst for this. Examples such as the browser Chrome, when browser chrome has been a thing for a long time. Go, a very common verb and keyword and also now a programming language. Not to be confused with their Go Links, which was a URL shortener. And then there's all the ones they either rebrand or retire and/or replace.
Perhaps they want confusing names because they think other search engines can't handle the ambiguity.
To be honest, other programming languages aren't named any better
Pascal is just a common name, Rust is a common noun, Java is an island which you cannot find by searching for just its name, Python's a snake, C# is a musical note and C is just a letter.
afaik they also alias common linux/gnu commands like curl.. but the syntax isnt like curl at all
I definitely spent a frustrated 45 minutes trying to figure out why curl wasn't working when it was supposed to be supported in PowerShell.
then I hit tab a couple of times and noticed curl.exe was an option, that works exactly the same as I had expected with original syntax.
they do this to a lot of things though a lot of common commands end up being an alias to a powershell command with a specific option set that doesn't always line up
I wonder which sudo Bing will default to find 🤔
Phil Collins, probably.
sudon't
They are tired of right clicking Command Prompt to "Run as Administrator". They've been doing it for decades, they can have one tiny piece of QoL improvement.
I bet you not even sudo could remove edge. edge is like the breathing lungs and thinking brain and balls of computer
HTTP is stored in the balls
"This action is forbidden. The incident has been reported."
And then MS sends goons to your house to break your legs
That's an unpalatable response - instead you're sentenced to 10 hours of Browser Reeducation classes
And, knowing Windows, won't let you do as much as a real sudo would anyway. There are so many f-ing things that even Admin is not allowed to do on a Windows box, it is simply annoying. "Oh no, you cannot remove Edge! This would threaten the stability of the universe!"
"Oh no, you cannot remove Edge! This would threaten the stability of the universe!"
We'll be able to in April, due to EU regulations 🥳
Amazing, isn't it? Just a bit of legal pressure, and impossible things suddenly are easy to do.
Do you remember when Microsoft tried to patent sudo?
Pepperidge farm remembers.
It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console.
Yeah Microsoft, how exactly is it familiar for Windows users? 😜
Finally. Although, I bet it's going to be one of these looongass PS OO commands, with an alias tied to it.
Probably Escalate-RegularUserPrivelige
and smack a mandatory -Confirm
argument in there as well, just to be annoying.
Although you have to admire that PowerShell at least attempts to define a common set of verbs and vocabulary.
The trick to powershell is to make incredibly liberal use of tab completion to speed yourself up. Or make aliases for commands you use really often.
Yeah, I get that it can be a pain to type long commands out the first time, but if you're using a terminal or an editor without tab completion in 2024 then you've chosen to do things the hard way.
Sudo rm -rf c: --no-preserve-root
This has been needed since Windows XP SP2.
Glad to see they've finally started doing their backlog tickets.
alias sudo=runas
Wow, so exciting.
Honestly, it's hardly newsworthy given how sudo was a thing in windows for quite a while now. I use it pretty often, especially sudo pwsh
for elevated shells.
I been using gsudo for quite sometime, the default way to leverage privaliges in Windows is cancer, the whole shell is tbh.
ah finally our imposters are in senior positions
Technology
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed