Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag@lemm.ee to linuxmemes@lemmy.world · 2 years ago

2Lazy2Type

www.commitstrip.com

message-square
70
fedilink
1.12K

2Lazy2Type

www.commitstrip.com

sag@lemm.ee to linuxmemes@lemmy.world · 2 years ago
message-square
70
fedilink
alert-triangle
You must log in or # to comment.
  • SigHunter@feddit.de
    link
    fedilink
    arrow-up
    122
    ·
    2 years ago

    Ctrl + R is bash history search

    • BruceTwarzen@kbin.social
      link
      fedilink
      arrow-up
      96
      ·
      2 years ago

      That sounds an aweful lot like typing to me

    • sturlabragason@lemmy.world
      link
      fedilink
      arrow-up
      45
      ·
      2 years ago

      Keep hitting CTRL+R until you find it and you can hit CTRL+S to scroll forward if you went past it 👌

      • Psaldorn@lemmy.world
        link
        fedilink
        arrow-up
        56
        ·
        2 years ago

        I’ve used ctrl R for 20 years.

        Now I learn of ctrl S. This is a blessed day!

        • lolcatnip@reddthat.com
          link
          fedilink
          English
          arrow-up
          15
          ·
          2 years ago

          You know you’re allowed to read the docs, right?

          • cm0002@lemmy.world
            link
            fedilink
            arrow-up
            65
            ·
            2 years ago

            read the docs

            NNNNEEEERRRRDDDDD

          • PapstJL4U@lemmy.world
            link
            fedilink
            English
            arrow-up
            21
            ·
            2 years ago

            One day of figuring it out avoids 30mim of reading a doc!

            • schmidtster@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              2 years ago

              Surprised they hadn’t hit the other hot key by accident myself. That’s usually how I find out about other/new features.

          • WhiskyTangoFoxtrot@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            2 years ago

            Yeah. Read the docs. That’s how it starts. Then before you know it your captain is slapping you in the face because you had the nerve to ask to be allowed to sleep instead of driving the giant robot all day.

          • jaybone@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            Reading sounds a lot like typing, only in reverse.

      • YIj54yALOJxEsY20eU@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        2 years ago

        Or CTRL+SHIFT+r, CTRL+s just pauses my terminal output, you can unpause it with CTRL+q

        • XTornado@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          I was gonna say I always used Ctrl+shift+r… didn’t even know about control+s being s thing…

    • 𝒍𝒆𝒎𝒂𝒏𝒏
      link
      fedilink
      arrow-up
      22
      ·
      2 years ago

      I feel dirty for still using history | grep ls lol

      • TheLordHumungus@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        I usually alias that to “bastard”, I agree with a very dirty feeling.

      • remotelove@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 years ago

        What if history only shows the last 10-15 entries? You might have to actually type the location of the history file or find out if history has any command line switches. (Does it have any switches? Dunno.)

        Edit: I think CIS Benchmarks recommended limiting bash history. Regardless, I have seen some installations that only show an abbreviated bash history by default.

    • havokdj@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      2 years ago

      Ctrl + R ls

    • LittleWizard@feddit.de
      link
      fedilink
      arrow-up
      8
      ·
      2 years ago

      Use fzf for an improved experience!

      • stepanzak@iusearchlinux.fyi
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        So basically this? It’s absolutely amazing. Just be warned that it replaces ctrl+R AND up arrow shortcuts by default. You can easily disable the up arrow though.

        • LittleWizard@feddit.de
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          I’ve not heard about atuin before but seems to do the same thing. I don’t know the specific differences.

    • ComradeSharkfucker@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      I prefer to just speak to my computer instead of using a keyboard. The computer doesn’t respond but maybe one day

      • Damage@feddit.it
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        Scotty?

      • irmoz@reddthat.com
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        2 years ago

        A speech operated terminal would be possible, speech to text is pretty well developed by now, shouldn’t be too hard to hook that up to a terminal.

        But, y’know, effort.

        • ComradeSharkfucker@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          2 years ago

          Precisely, I gotta type in order to go find a program that does that or write one myself. I will simply continuing speaking to an unyielding electric box until it gains sentience and responds.

        • katy ✨@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          hello computer

          • PipedLinkBot@feddit.rocksB
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            Here is an alternative Piped link(s):

            hello computer

            Piped is a privacy-respecting open-source alternative frontend to YouTube.

            I’m open-source; check me out at GitHub.

  • cley_faye@lemmy.world
    link
    fedilink
    arrow-up
    55
    ·
    2 years ago

    You can Ctrl+R, type “ls”, then keep hitting Ctrl+R until you find one without arguments if you need them. Efficiency at its finest.

    • HolyDriver@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      I usually bind it to my up arrow. Means I can still keep tapping up ;)

    • thepianistfroggollum@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      Thank you for this

  • 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    53
    ·
    2 years ago

    If people are going to make comics about me, they could at least let me know.

    • Rose Thorne(She/Her)@lemm.ee
      link
      fedilink
      arrow-up
      21
      ·
      2 years ago

      We tried telling you.

      Maybe if you stopped screaming every time we tried, but nooo, SOMEONE has to have issues with the voices in their walls.

      They’re never going to find the body anyway. Stop worrying.

      • im sorry i broke the code@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

        What if you are the wall

        • Rose Thorne(She/Her)@lemm.ee
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          It’s time to ask yourself what you really are, because for all your big talk, all in all, you’re just another brick in the wall.

      • 👍Maximum Derek👍@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        2 years ago

        Oh, that’s a relief, thank you. You can go back making barely audible whispers and occasionally humming Baby Shark now.

  • southsamurai@sh.itjust.works
    link
    fedilink
    arrow-up
    25
    ·
    2 years ago

    Jfc, how did they film me?

    • GladiusB@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      You’re in the Matrix

  • Crass Spektakel@lemmy.world
    link
    fedilink
    arrow-up
    25
    ·
    edit-2
    2 years ago

    Me last Thursday:

    user@work5:~$ [CTRL-R] ls

    user@work5:~$ ls

    me: “That will do…”

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    19
    ·
    2 years ago

    id type out more ~/.bash_history | grep ls and copy, paste before id type out ls tbh

    • seaQueue@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      2 years ago

      Why do all that typing? Hit ctrl-r first then type ls. Bonus points if you hook fzf into it.

      fzf hooked into ctrl-r, a bash history of about 100k and HISTCONTROL=ignoreboth is magic.

      Note: backup your history file periodically, system crashes at the wrong time can zero it leaving you incompetent until it’s restored.

      • bitwaba@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Pretty sure you just got wooshed…

        • NightAuthor@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 years ago

          This whole post is ridiculous, idk if its possible to get whooshed in here.

          • bitwaba@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Yeah it’s ridiculous. That’s the woosh. The statement was “I’d type more blah piped to ls then copy and paste before typing ls”

            It’s absurd. It’s obviously absurd. If you didn’t pick up on that, you got wooshed

        • seaQueue@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Probably, but I’ll spread the good word anyway.

    • crispy_kilt@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Useless use of more

    • Crass Spektakel@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      at least you avoided a “useless cat” by using “more” instead. Respect Bro!

    • SubArcticTundra@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      You can pipe it to wl-copy, and then when you need it all you need to type is wl-paste

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

    Last week I switched to a new distro and decided to nuke everything except my personal data in my backup. I immediately regretted not saving my shell history file.

    • Rikudou_Sage@lemmings.world
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Go with McFly and save the history database, you won’t regret.

      • seaQueue@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Fzf does a great job as a Ctrl-r browser too

  • Caveman@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    2 years ago

    alias l=ls so you can finally breathe

    • tetraodon@feddit.it
      link
      fedilink
      arrow-up
      19
      ·
      edit-2
      1 year ago

      deleted by creator

      • Caveman@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 years ago

        That’s just showing off, take an upvote

  • TryingToEscapeTarkov@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

    Then you try this on Windows and are disappointed that it doesn’t remember anything from your last session.

    • katy ✨@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 years ago

      Powershell history!

      https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_history?view=powershell-7.3

      • hulemy@ani.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        My Powershell history broke yesterday after a very intense git session ;-;

  • Footnote2669@lemmy.zip
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

    Looks more like trying to get into the bios

    • danielbln@lemmy.world
      link
      fedilink
      arrow-up
      21
      ·
      edit-2
      2 years ago

      One finger is not enough for that, could be ESC, F2, F12, DEL or whatever else the bios manufacturer landed on when they threw a dart at the keyboard.

      • Footnote2669@lemmy.zip
        link
        fedilink
        arrow-up
        9
        ·
        2 years ago

        Roll your face across the keyboard repeatedly

        • Sabata11792@kbin.social
          link
          fedilink
          arrow-up
          9
          ·
          2 years ago

          It’s more reliable than guessing the key.

          • Footnote2669@lemmy.zip
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            Works 10/10 times, tested

      • russjr08@outpost.zeuslink.net
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        If you’re on an EFI based system and have systemd, you can use systemctl reboot --firmware-setup to get into BIOS!

        • SubArcticTundra@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          Wow, this really is the 21st century

      • Perfide@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        DEL has always worked in my experience, even when they don’t specify it.

  • Gork@lemm.ee
    link
    fedilink
    arrow-up
    10
    ·
    2 years ago

    L and s are on the other side of the keyboard and I only have one hand free. Too much work.

    • PutangInaMo@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Finally somebody that gets the joke lol all these people in here “well akchually” not getting it

      • jaybone@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        This guy keeps his porn in /var?

  • XTornado@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    2 years ago

    Ctrl-r

    That said… I didn’t discover it so early as I should…

  • Fjor@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Ouff… way too accurate.

  • leanleft@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    zsh if you can survive configuring it

  • TheLordHumungus@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    Yup

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.

  • 24 users / day
  • 24 users / week
  • 25 users / month
  • 16.4K users / 6 months
  • 120 local subscribers
  • 24.7K subscribers
  • 1.6K Posts
  • 87.9K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org