Skip to content

Instantly share code, notes, and snippets.

View Rachitlohani's full-sized avatar
🔵
at work

Rachit Lohani Rachitlohani

🔵
at work
View GitHub Profile
@Rachitlohani
Rachitlohani / ls.rst
Created March 18, 2019 04:27 — forked from amitsaha/ls.rst
How does `ls` work?

How does ls work?

I wanted to be really able to explain to a fair amount of detail how does the program :command:`ls` actually work right from the moment you type the command name and hit ENTER. What goes on in user space and and in kernel space? This is my attempt and what I have learned so far on Linux (Fedora 19, 3.x kernel).

How does the shell find the location of 'ls' ?