This is my first programming meme tell me if this is any good

75 points · 13 comments · view on lemmy.world

13 Comments

monomon@programming.dev · 14 pts · 3y (4 replies)

The tee program is also very useful!

blackstrat@lemmy.fwgx.uk · 3 pts · 3y

tee was one of those programs that really opened my eyes to how powerful the Unix-like command prompt could be

intelati@programming.dev · 1 pts · 3y

That's amazing..

Pizzarules668@programming.dev · 0 pts · 3y (1 reply)

Never heard of tee I will have to look in to it

james@lurk.fun · 9 pts · 3y

You should add an exploding head 4th item to the meme with: app | tee log.txt

hemmes@vlemmy.net · 14 pts · 3y (1 reply)

Add your image to the link rather than the body so we can see it while scrolling.

Pizzarules668@programming.dev · 8 pts · 3y

Alright I will do that next time, this was one of my first posts

CooperHawkes@lemm.ee · 7 pts · 3y (1 reply)

Well I chuckled so I would say it’s good!

Pizzarules668@programming.dev · 2 pts · 3y

Good it's not just me

kensand@lemmy.kensand.net · 4 pts · 3y

Even better - redirect stdout to a file within the program!

Xylight@lemmy.xylight.dev · 2 pts · 3y

Congrats, you're the first federated post on my instance.

Reckless@lemmy.world · 1 pts · 3y

In Python logging.info() and the stream handler to redirect to a log file is my preferred settup for simultaneous terminal and file output.

scri@lemmy.world · 1 pts · 3y

app 2>&1 | tee log.txt is my usual go to.