Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
merari42@lemmy.world to Microblog Memes@lemmy.worldEnglish · 1 year ago

A dog is not the opposite of a cat

lemmy.world

external-link
message-square
101
link
fedilink
648
external-link

A dog is not the opposite of a cat

lemmy.world

merari42@lemmy.world to Microblog Memes@lemmy.worldEnglish · 1 year ago
message-square
101
link
fedilink
  • rc__buggy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    edit-2
    1 year ago

    tee isn’t exactly the opposite of cat but I can’t remember a command that only redirects screen output to a file.

    What is up, tee?

    edit: what’s the opposite of “cd …”?

    • zero_spelled_with_an_ecks@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      How about tac which prints lines but last to first.

    • SpaceNoodle@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      cat is for concatenating files, so the opposite would be something that breaks a stream up into multiple files.

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

        tac is a real command and does exactly what you think it is

    • jaybone@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      It prints to stdout. I’d say the opposite is read, which reads from stdin.

    • Karyoplasma@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Hmm, maybe pwd?

    • Trigger2_2000@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      pwd Print Working Directory

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

        There’s pushd where the opposite is clearly popd.

Microblog Memes@lemmy.world

microblogmemes@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: !microblogmemes@lemmy.world

A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, Twitter X, KBin, Threads or elsewhere.

Created as an evolution of White People Twitter and other tweet-capture subreddits.

Rules:

  1. Please put at least one word relevant to the post in the post title.
  2. Be nice.
  3. No advertising, brand promotion or guerilla marketing.
  4. Posters are encouraged to link to the toot or tweet etc in the description of posts.

Related communities:

  • !whitepeopletwitter@sh.itjust.works
  • !curatedtumblr@sh.itjust.works
Visibility: Public
globe

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

  • 675 users / day
  • 6.06K users / week
  • 11.2K users / month
  • 24.6K users / 6 months
  • 1 local subscriber
  • 9.42K subscribers
  • 3.25K Posts
  • 135K Comments
  • Modlog
  • mods:
  • Ready! Player 31@lemmy.world
  • aeronmelon@lemmy.world
  • needanke@feddit.org
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org