2min chapter

Coding Blocks cover image

Errors vs Exceptions, Reddit Rebels, and the 2023 StackOverflow Survey

Coding Blocks

CHAPTER

How to Redirect the Output of Files to a File

There is a command in Linux that I didn't know about until the other day. It's designed to do exactly what you want, and they called it T as in like a plumber's T. And this will allow you to do the output to standard out like you normally would, but it'll also redirect to a file at the same time. So if you're like me and you want to see it and you also want it in a file, this is amazing. Um, so all right. Cool. And now I want to go build something.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode