Europe Pub
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year ago

Linux Users

message-square
145
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
1.3K

Linux Users

cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year ago
message-square
145
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • ezekielmudd@reddthat.com
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    Or, just type the command “history”, find the index number of the desired command, then type “! <index number>”, then <enter>.

    • Frezik@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      1
      ·
      1 year ago

      That’s way more mental effort than pressing up a bunch of times.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      1 year ago

      or Ctrl+R then search? I don’t know why some people still bother with history tbh.

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Because you can pipe history to grep.

        • snowe@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          with fzf you get better grep with fuzzy search

      • Sabata@ani.social
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        This is going to save me so much time pressing the up arrow.

    • irish_link@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Holy cow!! I didn’t know that. I have been using history > history.txt to find “that one command for that one thing” I only need once every other month or so. Thanks, now I can just do that.

    • Not a newt@piefed.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Ctrl-R if you know part of the command.

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 864 users / day
  • 3K users / week
  • 7.01K users / month
  • 16.4K users / 6 months
  • 31 local subscribers
  • 33.3K subscribers
  • 2.02K Posts
  • 55.6K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org