Premium Only Content

Mastering Standard Input, Output, and Error (STDIN, STDOUT, STDERR) in Linux with Yasm
Get a clear, hands-on look at Linux's standard input (STDIN), output (STDOUT), and error (STDERR) pipes! In this video, we explore how programs communicate using these essential streams, with practical examples in Yasm Assembly (no assembly knowledge needed!). Learn to redirect outputs, handle errors, and read inputs like a pro. Whether you're a beginner or seasoned coder, this fun demo breaks down the basics of Linux pipes. Subscribe for more coding insights and check out the full tutorial on our site!
Introduction to STDIN, STDOUT, STDERR 00:00:00
Overview of Pipes in Linux 00:00:07
Explanation of File Descriptors 00:01:12
Demonstrating Echo Command 00:01:24
Redirecting Standard Output 00:02:02
C++ Example with cout and cerr 00:02:48
Purpose of Separate Error Pipe 00:03:28
Assembly Program Introduction 00:04:55
Creating Data Section in Yasm 00:05:22
Writing Helper Functions 00:07:37
Printing to Standard Output and Error 00:11:29
Testing Output Redirection 00:12:43
Standard Input Explanation 00:14:54
Creating Stack Buffer for Input 00:16:03
Reading from Standard Input 00:17:28
Piping Input to Program 00:20:54
Handling Null Terminators 00:22:02
Conclusion and Call to Subscribe 00:23:53
Thanks for watching!
Find us on other social media here:
- https://www.NeuralLantern.com/social
Please help support us!
- Subscribing + Sharing on Social Media
- Leaving a comment or suggestion
- Subscribing to our Blog
- Watching the main "pinned" video of this channel for offers and extras
-
LIVE
SynthTrax & DJ Cheezus Livestreams
12 hours agoFriday Night Synthwave 80s 90s Electronica and more DJ MIX Livestream THE FLOATING WORLD / Variety Music Edition
146 watching -
LIVE
SpartakusLIVE
2 hours ago#1 HERO of the PEOPLE || Ending the Week with FUN, WINS, and LAUGHS
189 watching -
43:54
Donald Trump Jr.
2 hours agoJames and the Giant Breach, Plus Explosive J6 Revelations | TRIGGERED Ep.277
117K150 -
LIVE
MadHouse_
2 hours agoFRIEND FRIDAY! - Garys Mod ? im pretty sure im gonna lose at this game
90 watching -
54:43
Glenn Greenwald
3 hours agoGlenn Reacts to Netanyahu's UN Speech; PLUS: Q&A on Trump's Russia/Ukraine Policy, the Tom Homan Investigation, and More | SYSTEM UPDATE #522
20.8K20 -
LIVE
blackfox87
1 hour agoBorderlands Grind Continues | PREMIUM CREATOR | #DisabledVeteran
100 watching -
LIVE
Mally_Mouse
5 days agoFriend Friday!! 🎉 - Let's Play! - Gary's Mod!
44 watching -
LIVE
ZWOGs
8 hours ago🔴LIVE IN 1440p! - Resident Evil 3 First Playthrough, GMod w/ Mally_Mouse & Friends - Come Hang Out!
51 watching -
1:00:55
BonginoReport
6 hours agoJames Comey Indicted! - Nightly Scroll w/ Hayley Caronia (Ep.143)
129K97 -
1:20:26
Kim Iversen
5 hours agoThis Intel Analyst Has Accurately Predicted Putin's Every Move... Is War With NATO Next?
124K48