Project: lb_ls
Node.js·1 min read·Apr 17, 2025

In Unix, the ls utility lists the contents of directories, as well as associated information like types, permissions, owners, size, and more.
The objective of this project is to write a Node.js script that partially reimplements the ls utility.
General instructions
Here are the general instructions to complete this project:
- The script must be named
lb_ls.js. - The script must be written in Node.js.
Flags and arguments
The script must have the following synopsis:
$ node lb_ls.js [-rAR] [file ...]Where:
-ris an optional flag used to output the list of entries in descending alphabetical order.-Ais an optional flag used to include the entries whose names begin with a dot., except for the.and..directories.
Unlock the program 🚀
Pay once, own it forever.
€79
30-day money-back guarantee
- 13 modules
- 113 lessons with full-code examples
- 29 projects with commented solutions
- All future lesson and project updates
- Lifetime access
By submitting this form, you agree to the Terms & Conditions and Privacy Policy.