Ever wondered how a Linux shell works, under the hood? In this live stream I’ll program a simple one in C. We’ll look at tokenizing the input string, using fork() and exec() to spawn a new process, and output redirection.
Editor: vi (vim)
Terminal: Ghostty
Terminal Font: Maple Mono
Compiler: clang
source

What would you like to see me add to this shell?
Astra built it in less than 7 minutes
Very cozy and educative stream! I hope I can catch one of your streams soon prof.
Let's make a shell, shell we?
doing it how it's meant to be done. thanks for this giant piece of info professor
Haha, look who is back! Welcome back
so refreshing watching a talended dev making his stuff… I'm so freaking done with AI and vibesh1t, thanks for this great viedeo!
it would be interesting to implement the internal shell commands like cd. and if you build it statically (-s) would you be able to use it as a init process with qemu? i have not had a chance to test this
NOICE 👌👌👌👌
39:00 no quoting or redirection and it's still 2 hrs long? he's like one strtok loop away from being done with all that what am I…? huh…?
EDIT: I just realized that he got to that point 40 min in. i think i forgot how long it takes to write this maybe just a little tiny bit…? 😅
I wish my college professor had described and walked through code like this. Where can I take these courses!!?
Hello, would you recommend the ANSI version of the "The C programming language" K&R book for someone that has programming experience but wants to go lower level? Or is it to updated?
Is it still recommended for classroom usage?
Wow. Thanks a lot Prof. Coding with explanations is what helps the students the most. Keep posting.
I wish I had this source of video material back in the day, just a delight to watch! As a self learner, for me AI is a learning tool nothing more, nothing less. It saves me hours of research and context filtering when I need specific information about any subject. I input a question, it delivers a straightforward answer, then I request elaboration considering a specific aspect of the question, it delivers elaboration.
Being artifitial cognition NP-Complete, it doesn't reason or create from nothing, just helps me saving effort.
Comme le minishell de l'école 42
amazing
He is back!!!
The goat is backk
It's a shame that the universities are not cracking down more on the AI stuff. They are hurting their reputations and the quality of their graduating students but they don't care because their money is greener if they're still at the university rather than being kicked out or something.
nice to see you again!