Lemmy.HybridSarcasm
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
AleMegadeth@eviltoast.org to linuxmemes@lemmy.world · 15 hours ago

siempre lo hago

eviltoast.org

message-square
128
fedilink
1.01K

siempre lo hago

eviltoast.org

AleMegadeth@eviltoast.org to linuxmemes@lemmy.world · 15 hours ago
message-square
128
fedilink
  • acargitz@lemmy.ca
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    11 hours ago

    history | grep [the thing]

    • lepinkainen@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      7 hours ago

      https://atuin.sh/

    • bdonvr@thelemmy.club
      link
      fedilink
      arrow-up
      19
      ·
      10 hours ago

      CTRL+R [the thing]

      please i beg you

      • acargitz@lemmy.ca
        link
        fedilink
        arrow-up
        6
        ·
        10 hours ago

        with grep I see all the alternatives, Ctl+R just shows me one

        • disobey2623@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          5
          ·
          7 hours ago

          Combine ctrl+R with fzf and get the best of both worlds

        • oddlyqueer@lemmy.ml
          link
          fedilink
          English
          arrow-up
          6
          ·
          8 hours ago

          For me ctrl-r is faster most of the time, history | grep [command] is better if I can’t easily pattern match (don’t remember it exactly, using several flag variations, etc.). they’re both good tools.

        • Evotech@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          6 hours ago

          You can press up

          • Avicenna@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            5 hours ago

            seeing multiple at the same time is more helpful though

    • surewhynotlem@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      10 hours ago

      Ppsshh. Not lazy enough. Create that in a script and call it “hgrep” and drop it into path.

      • JoeyJoeJoeJr@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        7 hours ago

        Why not just use an alias?

        • surewhynotlem@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          That’s the right way, yes.

      • acargitz@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        9 hours ago

        Brilliant

    • Emerald@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      11 hours ago

      i was doing cat ~/.bash_history | grep thing which is stupid so i started doing grep "thing" ~/.bash_history

      now you’re telling me i should do history | grep thing

      i can’t win

      • qjkxbmwvz@startrek.website
        link
        fedilink
        arrow-up
        7
        ·
        10 hours ago

        Some would call the former command cat abuse.

        In short, unless you want the contents of a file printed to stdout (or multiple files concatenated), the command can probably be written without cat, instead using the filename as an argument (grep pattern file) or IO redirection (cmd < file).

        Stylistics and readability are another thing though.

    • altphoto@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      Exactly! Now copy paste it into Joplin where you’ll never see it ever again.

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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 figures

We 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.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.23K users / day
  • 4.46K users / week
  • 8.55K users / month
  • 17.7K users / 6 months
  • 1 local subscriber
  • 26.9K subscribers
  • 1.77K Posts
  • 84.3K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org