3 ms·
Both "ls" and "find" "list files in a specific path" and "search for objects that match a specific query". There's total overlap. The difference is that "ls" is
by lobster_johnson 10y ago
Both "ls" and "find" "list files in a specific path" and "search for objects that match a specific query". There's total overlap. The difference is that "ls" is a presentation-oriented tool, whereas "find" is geared towards pipelines.
- geezerjay 10y ago> Both "ls" and "find" "list files in a specific path" Only if you use "find" with a query that means "get me all files matching any and all criteria as long as they are in this specific path". That's a corner case, and a very silly one. > There's total overlap. A very silly and far-fetched one.