this post was submitted on 07 Jul 2024
839 points (92.7% liked)

linuxmemes

26258 readers
584 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] SpaceCowboy@lemmy.ca 18 points 1 year ago (2 children)

    Yup. And you can kill processes in Windows to in the task manager. Or probably with a Powershell command too, but nobody's gonna learn Powershell LOL.

    There's nearly always equivalent functions in both Linux and Windows, just in Windows you gotta click around in more bullshit forms and shit to find stuff. Or learn Powershell, but again, LOL. They are both OSes after all, they do similar things. Just one might do them better than the other.

    [–] capital@lemmy.world 10 points 1 year ago (5 children)

    Why u gotta hate on PowerShell like that? I like it. 😭

    [–] stetech@lemmy.world 7 points 1 year ago

    It might be nice and all that (I wouldn’t know), but it’s not a sub- nor superset of glorious POSIX

    [–] MrPommeroy@lemmy.world 6 points 1 year ago (3 children)

    Probably because it's the scripting language equivalent to Clippy. Ref.: Approved "verbs"

    [–] pantyhosewimp@lemmynsfw.com 7 points 1 year ago (2 children)

    Boy oh boy would you hate AppleScript. This is what I have to type to throw files in the trash instead of deleting them.

    tell application ”Finder” to delete POSIX file β€œ/full/fucking/path/to/file”
    
    [–] PlexSheep@infosec.pub 1 points 1 year ago (1 children)

    Why do you need to "tell" some "application"? Why do you need a "finder" if you know the absolute path already? Does this imply that "finder" always runs, ready to be told something?

    [–] pantyhosewimp@lemmynsfw.com 2 points 1 year ago (1 children)

    Finder is macOS equivalent of Windows Explorer (maybe, it’s been a while). I assume Linux desktop suites have various similar processes. In other words, a second optional layer (with more features) to access runtime libc file manipulation api.

    [–] PlexSheep@infosec.pub 1 points 1 year ago (1 children)

    Explorers in Linux don't work like this. They are just some app you can move your files with.

    Yes. Finder is just some app you can move files with on macOS.

    [–] capital@lemmy.world 2 points 1 year ago (1 children)

    I really appreciate the consistency. People also dog it for being verbose to write but it makes it so much more legible.

    /shrug

    [–] MrPommeroy@lemmy.world 3 points 1 year ago

    I usually write verbose code and use self-documenting function names, but to have such a limited set of verbs available can be frustrating. They could at least have used a proper dictionary and included all verbs. Then have a map of synonyms that are preferred, like instead of 'create' they prefer 'new' (which isn't even a verb).

    [–] PlexSheep@infosec.pub 4 points 1 year ago

    Your opinion is wrong, Powershell must be banished

    [–] dezmd@lemmy.world 2 points 1 year ago (1 children)
    [–] capital@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

    I find objects much easier to work with rather than a bunch of string manipulation.

    [–] dezmd@lemmy.world 4 points 1 year ago

    Just think of strings as the objects.

    /waves magic wand

    [–] SpaceCowboy@lemmy.ca 1 points 1 year ago (1 children)

    It's one of those things wher eI'm sure it's fine if you learn it. But it's not DOS CMD, but also not bash.

    So instead of improving CMD to have more features or just going all the way and offering an official bash implementation, they want me to learn a third thing. Just don't have time for it.

    [–] capital@lemmy.world 1 points 1 year ago (1 children)

    It’s second to none if you have to get things done in a Windows environment, especially if dealing with Active Directory.

    But if not, I don’t blame you for not picking it up. Right tool for the job and all that.

    [–] SpaceCowboy@lemmy.ca 1 points 1 year ago

    I do use it occasionally, but I gotta google for the command every time. So not exactly learning it.