Pressing CTRL+D Is NOT what you think! @GynvaelEN
Pressing CTRL+D Is NOT what you think!  @GynvaelEN
Uploaded March 2025 | Updated September 2026, 2 weeks ago
hackarcana.com ← check out my courses and CTF challenges ​  
So... What really happens when you press CTRL+D? πŸ€”

It doesn’t send an EOF signal. It doesn’t close standard input. So… what does it actually do?

Well, as you can see on the thumbnail, it’s like pressing ENTERβ€”but with a twist!

πŸ” Here’s what you’ll also learn from the video:
βœ… The real reason interactive applications like Bash or Python REPL exit when you press it.
βœ… How some programs can get stuck in infinite loops when they don’t handle CTRL+D correctly.
βœ… And a fun hands-on experiment for you to try in your own code!
β€‹β€ƒβ€Š
--- Links:
hackarcana.com ← my courses, articles, and CTF challenges
discord.gg/hackarcana ← hackArcana discord
https://gynvael.coldwind.pl/discord ← my / Paged Out! discord
https://pagedout.institute/ ← my Paged Out! magazine
https://gynvael.coldwind.pl/ ← my blog
https://bsky.app/profile/gynvael.bsky.social ← my Bluesky

--- Music in intro/outro:
TheFatRat - Monody feat. Laura Brehm
Watch the official music video: tinyurl.com/monodytfr
Listen to "Monody": thefatrat.ffm.to/monody
Follow TheFatRat: https://ffm.bio/thefatrat

nervous_testpilot - Office (Frozen Cortext Original Soundtrack)
nervous_testpilot - Our Heroes (Frozen Cortext Original Soundtrack)
nervous_testpilot - Focus (Frozen Synapse Original Soundtrack)
soundcloud.com/nervous_testpilot
nervoustestpilot.bandcamp.com

Stellardrone - Between the Rings
stellardrone.bandcamp.com/album/between-the-rings
soundcloud.com/stellardrone/between-the-rings
youtube.com/@StellardroneMusic

--- Team:
Shoutout and big thanks to my team who have helped me with livestreams and IRC/Discord over the years!
β†’ foxtrot_charlie
β†’ KrzaQ
β†’ masakra
β†’ hebi
β†’ maryush
β†’ disconnect3d
Pressing CTRL+D Is NOT what you think!Learning Rust Challenge! #4Are you interested in an in-depth Python Summer Camp? (Online!)Hacking Livestream #21: CONFidence DS CTF 2017Hacking Livestream #13: Race conditionsFinding all exceptions a function throwsHacking Livestream #35: CHIP-8 VM Part IIHacking Livestream #41: Fuzzing againSolving Hackceler8 Teaser Task 2 (Part 3)#108: GW-BASICHacking Livestream #84: 2 hardware CTF tasks#112: Hack The Box
GynvaelEN |

Pressing CTRL+D Is NOT what you think!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER