Type ls -l in the shell, and them?

Image 1. Simple representation of a shell as a messenger between the user, the kernel and the machine

What is a Shell?

To try to understand better how a shell works well, we have built our own simple_shell, so we will be using some tools of this (flowchart, examples …) for the description.

Image 2. A regular prompt and the prompt of our simple shell.
code 1. Main function of our own simple_shell
image 3. Simple representation of file descriptor .
image 4. How to read.
Image 5. Command output

--

--

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