Séra Balázs to linuxmemes@lemmy.worldEnglish • 1 year agoSometimes less is morelemmy.worldimagemessage-square32fedilinkarrow-up1248arrow-down126
arrow-up1222arrow-down1imageSometimes less is morelemmy.worldSéra Balázs to linuxmemes@lemmy.worldEnglish • 1 year agomessage-square32fedilink
minus-square@outdated_belatedlinkEnglish14•1 year agoHoly shit the reason for tee never really clicked until I saw this post. I’d used it in pasted commands, but it had always seemed superfluous.
minus-square@SteveTech@programming.devlinkfedilinkEnglish13•1 year agoIt writes to a file like >, and echos it back at the same time; in this case the latter isn’t needed (we’re just using it to write with sudo), but it’s good to know.
Holy shit the reason for
tee
never really clicked until I saw this post. I’d used it in pasted commands, but it had always seemed superfluous.What does
tee
do?It writes to a file like
>
, and echos it back at the same time; in this case the latter isn’t needed (we’re just using it to write with sudo), but it’s good to know.