

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: What Is a Filesystem?
incomplete
2: Filepaths
incomplete
3: Parent Directories
incomplete
4: Absolute vs. Relative Paths
incomplete
5: Files
incomplete
6: Tab Completion
incomplete
7: head and tail
incomplete
8: More and Less
incomplete
9: Touch
incomplete
10: Directories
incomplete
11: Move
incomplete
12: Remove
incomplete
13: Copy
incomplete
14: Home
incomplete
15: Grep
incomplete
16: grep Multiple Files
incomplete
17: Find
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
The find command is a powerful tool for finding files and directories by name, not by their contents.
Let's say you're looking for a file named hello.txt somewhere in your home directory. You can use the find command to search for exactly that title:
find some_directory -name hello.txt
The find command can also search for files that match a pattern. For example, if you wanted to find all files that end in .txt, you could run:
find some_directory -name "*.txt"
The * character is a wildcard that matches anything. If you're trying to find filenames that contain a specific word, you can use the * character to match the rest of the filename:
# Find all filenames that contain the word "chad"
find some_directory -name "*chad*"
You've been tipped off that fraudulent activity seems to happen often with "joint" accounts. "joint" means accounts that have more than one owner.
Navigate into worldbanc and search the public/products directory for all files that contain the word "joint" in their name.
Submit the shell checks.