this post was submitted on 08 Feb 2024
238 points (94.7% liked)

Technology

58303 readers
6 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
238
Sudo is coming to Windows 11 (devblogs.microsoft.com)
submitted 9 months ago* (last edited 9 months ago) by starman to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 9 months ago* (last edited 9 months ago) (2 children)

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.

[–] [email protected] 17 points 9 months ago (1 children)

Although you have to admire that PowerShell at least attempts to define a common set of verbs and vocabulary.

[–] [email protected] 3 points 9 months ago

Fair enough. I just wish shorthand was the standard.

[–] [email protected] 15 points 9 months ago (1 children)

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.

[–] [email protected] 7 points 9 months ago

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.