Video Pending

Created by Zed A. Shaw Updated 2024-02-15 03:22:43
 

04: Replicate find

This exercise is very similar to the ls exercise, but instead of simply listing based on a pattern you are taking various commands to more finely control the search. This will help you solidify your understanding of the fs module which will be essential for future exercises.

Notes on Commander.js

The find command is an odd one because it uses the non-standard -name style (one dash, one word) while the rest of Unix tools use --name style (two dash, one word) or -n (one dash, one letter) style. For now, if you want to keep using commander.js then you'll have to use the --name style and just go with it for now.

Previous Lesson Next Lesson

Register for Learn JavaScript the Hard Way

Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.