this post was submitted on 31 Aug 2024
655 points (96.3% liked)
Microblog Memes
10305 readers
2618 users here now
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:
- Your post must be a screen capture of a microblog-type post that includes the UI of the site it came from, preferably also including the avatar and username of the original poster. Including relevant comments made to the original post is encouraged.
- Your post, included comments, or your title/comment should include some kind of commentary or remark on the subject of the screen capture. Your title must include at least one word relevant to your post.
- You are encouraged to provide a link back to the source of your screen capture in the body of your post.
- Current politics and news are allowed, but discouraged. There MUST be some kind of human commentary/reaction included (either by the original poster or you). Just news articles or headlines will be deleted.
- Doctored posts/images and AI are allowed, but discouraged. You MUST indicate this in your post (even if you didn't originally know). If a post is found to be fabricated or edited in any way and it is not properly labeled, it will be deleted.
- Be nice. Take political debates to the appropriate communities. Take personal disagreements to private messages.
- No advertising, brand promotion, or guerrilla marketing.
Related communities:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 .."?
cat is for concatenating files, so the opposite would be something that breaks a stream up into multiple files.
So, split.
Edit: although there's also tac, which could fit the bill as well.
Oh, you use Arch?
Heh, no, but they do have a nice set of man pages and other documentation online. I prefer NixOS. Easier keeping track of configuration, easier rolling back of (and experimentation with) new stuff.
Hah, forgot about tac
I mean... it's nice that it exists and all, but I can't really think of many useful usecases.
I think I only ever used it in an intro to shell scripting where we (almost) recreated the function of tail
Something like
tac | head | tac, I guess? Yes, that's a valid use case indeed :)tacis a real command and does exactly what you think it isHow about tac which prints lines but last to first.
It prints to stdout. I’d say the opposite is read, which reads from stdin.
Hmm, maybe pwd?
pwd Print Working Directory
There’s pushd where the opposite is clearly popd.