tomateaux mutters.
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 1 day ago

Linux Users

lemmy.ml

message-square
132
link
fedilink
1.12K

Linux Users

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 1 day ago
message-square
132
link
fedilink
  • disobey2623@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    8 hours ago

    You saying I can just skip cat in that command and it works?

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

      history | grep 'cat'

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 hours ago

        My output was empty for that command.

        Guess why?
        Because history only gives the last few lines in my system.

    • neox_@sh.itjust.works
      link
      fedilink
      Français
      arrow-up
      4
      ·
      8 hours ago
      grep ~/.bash_history
      
      • disobey2623@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        ·
        8 hours ago

        How did I not know this. Thank you!

        • oozynozh@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          3 hours ago

          it’s grep STRING FILE to be precise

          or awk '/STRING/′ FILE if you prefer that for some reason

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

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
Visibility: Public
globe

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

  • 2.24K users / day
  • 5.03K users / week
  • 8.48K users / month
  • 16.3K users / 6 months
  • 1 local subscriber
  • 26.5K subscribers
  • 843 Posts
  • 15.4K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org