Advertisement · 728 × 90

Posts by Daa

FFS

1 month ago 0 0 0 0

Angular to React migration??? How did that go? And how large was this project?

1 month ago 0 0 0 0

Claude Code

2 months ago 1 0 0 0

Thank you!

2 months ago 1 0 0 0

Is it in a Github repo? Not seeing any links here.

2 months ago 0 0 1 0

+1

4 months ago 2 0 0 0

Is this in iOS 26.2?

5 months ago 0 0 1 0
Video

It takes 36 to 48 hours for a soccer stadium to get ready for football. WSJ went inside Tottenham Hotspur Stadium to see the hidden engineering. 🔗 on.wsj.com/4hDKB52

5 months ago 46 13 2 4
Preview
How to make NPR and your local station your preferred news source on Google The NPR Network is your trusted source for reliable, accessible and fact-checked information. And now you can make sure we show up in your Google results.

The NPR Network is your trusted source for reliable, accessible and fact-checked information. And now you can make sure we show up in your Google results.

5 months ago 364 97 13 5
Advertisement
redirect to a file:

cmd > file.txt terminal emulator into program, program out to file.txt, error out to terminal emulator
append to a file:

cmd >> file.txt terminal emulator into program, program out to file.txt (append mode), error out to terminal emulator
send a file to stdin:

cmd < file.txt file.txt into program, program out and err to terminal emulator
redirect stderr to a file:

cmd 2 > file.txt terminal emulator into program, program out to nowhere, err out to file.txt
redirect stdout AND stderr:

cmd > file.txt 2>&1 terminal emulator into program, out and err to file.txt
pipe stdout:

cmd1 | cmd2 terminal emulator into program 1, 1 out to program 2 via pipe, 2 out to command line, program 2 out 1 and 2 to terminal emulator
pipe stdout AND stderr:

cmd1 2>&1 | cmd2 terminal emulator into program 1, 1 and 2 out to program 2 via pipe, program 2 out 1 and 2 to terminal emulator
three gotchas

    cmd file.txt > file.txt will delete the contents of file.txt some people use set -o noclobber (in bash/zsh) to avoid this

but I just have “never read from redirect to the same file” seared into my memory.

    sudo echo blah > /root/file.txt doesn’t write to /root/file.txt as root. Instead, do:

echo blah | sudo tee /root/file.txt or sudo sh -c 'echo blah > /root/file.txt'

    cmd 2>&1 > file.txt doesn’t write both stdout and stderr to file.txt. Instead, do: cmd > file.txt 2>&1

cat vs <

I almost always prefer to do:

cat file.txt | cmd

instead of

cmd < file.txt

it works fine & it feels better to me

using cat can be slower if if’s a GIANT file though
&> and &|

some shells support &> and &| to redirect/pipe both stdout and stderr

(also some shells use |& instead of &|)

redirect to a file: cmd > file.txt terminal emulator into program, program out to file.txt, error out to terminal emulator append to a file: cmd >> file.txt terminal emulator into program, program out to file.txt (append mode), error out to terminal emulator send a file to stdin: cmd < file.txt file.txt into program, program out and err to terminal emulator redirect stderr to a file: cmd 2 > file.txt terminal emulator into program, program out to nowhere, err out to file.txt redirect stdout AND stderr: cmd > file.txt 2>&1 terminal emulator into program, out and err to file.txt pipe stdout: cmd1 | cmd2 terminal emulator into program 1, 1 out to program 2 via pipe, 2 out to command line, program 2 out 1 and 2 to terminal emulator pipe stdout AND stderr: cmd1 2>&1 | cmd2 terminal emulator into program 1, 1 and 2 out to program 2 via pipe, program 2 out 1 and 2 to terminal emulator three gotchas cmd file.txt > file.txt will delete the contents of file.txt some people use set -o noclobber (in bash/zsh) to avoid this but I just have “never read from redirect to the same file” seared into my memory. sudo echo blah > /root/file.txt doesn’t write to /root/file.txt as root. Instead, do: echo blah | sudo tee /root/file.txt or sudo sh -c 'echo blah > /root/file.txt' cmd 2>&1 > file.txt doesn’t write both stdout and stderr to file.txt. Instead, do: cmd > file.txt 2>&1 cat vs < I almost always prefer to do: cat file.txt | cmd instead of cmd < file.txt it works fine & it feels better to me using cat can be slower if if’s a GIANT file though &> and &| some shells support &> and &| to redirect/pipe both stdout and stderr (also some shells use |& instead of &|)

redirects

wizardzines.com/comics/termi...

(from "The Secret Rules of the Terminal", out now! wizardzines.com/zines/termin...)

6 months ago 126 24 2 2

This will be so much better. Hope they push this out soon 🤞

6 months ago 1 0 0 0

This entire album is fantastic.

7 months ago 1 0 0 0
Preview
Dishoom | Indian Restaurant In Covent Garden | West End Experience the nostalgic charm of Dishoom Covent Garden. Enjoy Bombay comfort food served all-day, from breakfast to dinner. Perfect for groups. Book today.

Dhishoom is really nice, Will need a reservation for the Covent Garden location

www.dishoom.com/covent-garden/

7 months ago 1 0 0 0
Preview
AIDD Day 2025: Free AI-Driven Development Event for Devs Don't miss AIDD Day 2025! Join this FREE online event to boost your coding workflow with AI, featuring expert open-source developers sharing real-world insights.

Announcing AI-Driven Development Day 🚀

Dive into Cursor, AI agents, CLI workflows, Langflow, new user interaction models & more 🧠

🔥 @kentcdodds.com, @philna.sh, @danielkelly.io, @jpschroeder.com, @mosaid.bsky.social & Garrison Snelling 🔥

➕ It's FREE!

Grab a ticket 🎟️ aidd.io/ai-driven-de...

7 months ago 10 4 0 1
Oh mother...
Oh mother... YouTube video by Family Feud

This is hilarious! First, the reference to the song, and I think the image is referencing this clip.
youtu.be/iSITlMwLgPU?...

7 months ago 0 0 0 0

AWS Announces Billing and Cost Management MCP Server

AWS Billing and Cost Management MCP server enables AI assistants to access advanced FinOps features, allowing cloud teams to perform cost analysis and optimization through natural language queries.

7 months ago 1 1 0 0
Post image

This is nice!!

10 months ago 2 0 0 0

Audible Podcasts for me has been awful with the new update. Just refuses to show me my pods.

10 months ago 1 0 0 0
Advertisement

Will this be recorded and uploaded to YouTube?

11 months ago 0 0 1 0

Fighting Cock
Gold & Guest
Extra Inch
The Spurs Show

11 months ago 0 0 0 0

11

11 months ago 1 0 0 0

Good practice for next week.

1 year ago 1 0 0 0
Post image

Maybe folks are better at probabilities on Bluesky!

1 year ago 5198 633 231 40
Video

Politics affects everyone.

1 year ago 1791 699 32 56
Post image

Roses are red
Violets are blue

1 year ago 61320 13478 2491 1364

Link?

1 year ago 0 0 1 0
Advertisement

What else is coming in the new update?

1 year ago 0 0 0 0

Glad to hear that.

1 year ago 1 0 0 0