What happens when you type ls -l in the shell.

What is the shell anyway?

Why on Earth do I need a command-line interface?

Okay, you’ve convinced me. So how it actually works?

bash: 1792 lines of code in the shell.c only
signal(SIGINT, sig_handler);
The simple shell prompt

The Path Resolver

The Process Handler



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sergii Garkusha

Sergii Garkusha


Hacker. 500 Startups Alumni. Envato Elite. School of AI Dean. Runner. Ukrainian. I write about software, AI & life. SF 🌁 https://cu7io.us