Johannes!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Alejandro Mendoza@eviltoast.org to linuxmemes@lemmy.world · 11 days ago

siempre lo hago

eviltoast.org

message-square
187
link
fedilink
1

siempre lo hago

eviltoast.org

Alejandro Mendoza@eviltoast.org to linuxmemes@lemmy.world · 11 days ago
message-square
187
link
fedilink
alert-triangle
You must log in or # to comment.
  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    i just do a command close to what i want but slightly wrong just so i can do thefuck

  • FauxLiving@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    https://junegunn.github.io/fzf/shell-integration/

    fzf is a nice tool for this and other things

  • Magister@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    I type the first few letters and use up arrow, or !start of command name

    • DarkSirrush@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      11 days ago

      Doesn’t work on half the machines I use,and I am too lazy to find the setting/plugin to make it work.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 days ago

        Dude, that’s vanilla bash.

        • Ephera@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          11 days ago

          I don’t think it is…? You sure your distro doesn’t add some customizations? Neither of the features you mention work on two different distros I just tried it on (openSUSE and NixOS).

      • Magister@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        11 days ago
        $ cat .inputrc
        $include /etc/inputrc
        
        "\e[A": history-search-backward
        "\e[B": history-search-forward
        
  • resipsaloquitur@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    ^R

  • Boomer Humor Doomergod@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 days ago

    history | grep ‘part of the command I remember’

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      11 days ago

      Also: Ctrl+r then type the part of the command you remember.

    • threeonefour@piefed.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 days ago

      Everytime I use ffmpeg…

    • FuyuhikoDate@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      11 days ago

      Ha… That as if I would ever remember the part of the tool instead of the fact what it did 🤣

  • pewpew@feddit.it
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    And then the command is just “su”

  • NeilBrü@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 days ago

    Alabado sea El Omnissiah.

    • Siegfried@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      11 days ago

      Que paso que hay tanto comentario en Castellano? Pensé que eramos pocos los hispanohablantes

      • NeilBrü@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 days ago

        Hermano, nací en Estados Unidos. A pesar de que se dice que los estadounidenses solo sabemos inglés (y mis padres son de la India), saber hablar un poco de español es bastante útil.

        Además, el OP publicó en castellano. Por lo tanto, me pareció pertinente y cortés comentar al respecto.

  • underscores@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 days ago

    god I fucking love Linux (not a Linux thing) but I still fucking love Linux

  • MehBlah@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    If I haven’t ran it in a while or I don’t know it by heart then I ‘nano /home/mehblah/.bash_history’

    • Int32@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      9 days ago

      I do history | grep keyword.

      • MehBlah@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 days ago

        I forget that exist. One problem with being really old school on linux is you don’t adopt new ways unless there is a reason to do so.

  • wry@piefed.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 days ago

    grep -i “whatever” .bash_history

    • HorreC@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      11 days ago

      you really should just ctrl + r and type and then ctrl + r to goto the next one back.

      • wry@piefed.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 days ago

        Huh. I didn’t know that one. It’s much more practical. Thanks for teaching me something today.

  • Reygle@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    9 days ago

    … And waste an opportunity to type on my ludicrously expensive mechanical keyboard?

    FRIG no

  • A_Random_Idiot@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    Why are you making personal attacks against me.

  • PhAzE@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    10 days ago

    Ctrl + R and start typing the command, it’ll come up, press enter. Im just more lazy because I know there are still faster ways.

    • 𝄞 Inkstain (they/them)𓆩 𓆪@pawb.social
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      Oh my freaking god thank you

    • ChogChog@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      Note: if the above isn’t working, you may need to first set your shell to accept emacs commands:

      set -o emacs
      
  • djvinniev77@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    10 days ago

    Fuck that hits so hard.

    • Jarix@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      Care to explain to an uninitiated?

      • Lebernashi@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        10 days ago

        Every time you hit the up arrow, it shows the previous command you used in the terminal.

        So hitting the arrow once gives your last used, hitting it twice gives your second to last command, and so on.

        • djvinniev77@lemmy.ca
          link
          fedilink
          arrow-up
          0
          ·
          10 days ago

          Yup and that is me. I could just history grep the command I want but I SWEAR it was just 2 commands ago, or 15 up arrows. lol.

          • Jarix@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            10 days ago

            Ohhh! I can absolutely relate to this as well! Using a zmud client to play games on. which is probably not much different, looking, than a terminal anyways

            • zzx@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              10 days ago

              Multi user dungeon? What do you play?

  • bridgeenjoyer@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    10 days ago

    Nah just save all your commands in a text file on the desktop then make an alias to open it in nano so you just have to type “com”. Works for dumb ol me

    • CeeBee_Eh@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      10 days ago

      Why not just make the alias command cat the file instead?

      Edit: I wrote grep instead of cat

      • bridgeenjoyer@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        10 days ago

        I’ll look into that

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.

  • 166 users / day
  • 632 users / week
  • 1.78K users / month
  • 5.06K users / 6 months
  • 0 local subscribers
  • 27.1K subscribers
  • 1.29K Posts
  • 38K Comments
  • Modlog
  • mods:
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org