merari42@lemmy.world to Microblog Memes@lemmy.worldEnglish · 3 months agoA dog is not the opposite of a catlemmy.worldimagemessage-square38fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1imageA dog is not the opposite of a catlemmy.worldmerari42@lemmy.world to Microblog Memes@lemmy.worldEnglish · 3 months agomessage-square38fedilink
minus-squarerc__buggy@sh.itjust.workslinkfedilinkEnglisharrow-up0·3 months agotee 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?
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkEnglisharrow-up0·3 months agocat is for concatenating files, so the opposite would be something that breaks a stream up into multiple files.
minus-squaretetris11@lemmy.mllinkfedilinkEnglisharrow-up0·3 months agotac is a real command and does exactly what you think it is
minus-squareTrigger2_2000@sh.itjust.workslinkfedilinkEnglisharrow-up0·3 months agopwd Print Working Directory
minus-squarejaybone@lemmy.worldlinkfedilinkEnglisharrow-up0·3 months agoThere’s pushd where the opposite is clearly popd.
minus-squarejaybone@lemmy.worldlinkfedilinkEnglisharrow-up0·3 months agoIt prints to stdout. I’d say the opposite is read, which reads from stdin.
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?
cat is for concatenating files, so the opposite would be something that breaks a stream up into multiple files.
tac
is a real command and does exactly what you think it ispwd Print Working Directory
There’s pushd where the opposite is clearly popd.
It prints to stdout. I’d say the opposite is read, which reads from stdin.