programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Carly™@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 years ago

Look, I'm lazy, okay?

lemmy.world

message-square
86
link
fedilink
1.21K

Look, I'm lazy, okay?

lemmy.world

Carly™@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 years ago
message-square
86
link
fedilink
  • runswithjedi@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    2 years ago

    deleted by creator

    • Skyler@kbin.social
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      This is my approach, and for those who don’t know, you can use those line numbers that come back from history to rerun the command. Like if your output is something like this:

      $ history | grep tmp
        501  ls /tmp
        502  history | grep tmp
      
      

      You can run !501 and it will just re-run ls /tmp

      • IthronMorn@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Woah! I had no clue!

    • pleb@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      Yall are missing out on autocomplete.

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

        deleted by creator

    • bustrpoindextr@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      I got that as hgrep

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

        deleted by creator

    • notasandwich1948@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      didn’t know there was a comment for that, I just always used cat to read the bash history file

      • mrmanager@lemmy.today
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 years ago

        Wait until you learn about ctrl-R to search the bash history… :) If you press that and start typing, you will get auto complete from previous commands you typed. This is how an experienced linux user can be so fast in the terminal.

        There are even better tools for this, so ctrl R is just the built in way. Later you should look into https://github.com/junegunn/fzf

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

        deleted by creator

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: [email protected]

Hint: :q!


Sister communities:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

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.

  • 255 users / day
  • 3.62K users / week
  • 9.68K users / month
  • 18.8K users / 6 months
  • 510 local subscribers
  • 25K subscribers
  • 1.64K Posts
  • 85.4K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org