Anatomy of a simple Linux utility
Summary
In this article, I first looked at how Bash finds the location of the binary corresponding to the ls
command; then, I showed how the kernel knows how to execute the binary using the appropriate binary handler. Finally, I dived deeper to see how the directory listing is retrieved from the underlying filesystem.
Infos
- Bash source: http://savannah.gnu.org/git/?group=bash
- Coreutils: https://www.gnu.org/software/coreutils/
- SystemTap Beginners Guide: https://sourceware.org/systemtap/SystemTap_Beginners_Guide/
- SystemTap tutorial: https://sourceware.org/systemtap/tutorial/
- Linux kernel source: https://github.com/torvalds/linux
- The Linux Kernel Archives: http://kernel.org
« Previous 1 2 3
Buy this article as PDF
Express-Checkout as PDF
Price $2.95
(incl. VAT)
(incl. VAT)