commit 2a954ad0d4e47c6a231f4d9c12177d46c5fa62ba parent 844c42d2e827ecf7eb99199593dfc408c4999785 Author: ling0x <ling0x@users.noreply.github.com> Date: Wed, 30 Sep 2026 00:12:53 +0100 commands Diffstat:
| A | commands/find.txt | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/commands/find.txt b/commands/find.txt @@ -0,0 +1,17 @@ +find + +Use find and match the name from the current directory downward: + +find . -name "filename" + +find /path/to/directory -name "filename" + + +-name is case-sensitive. For a case-insensitive match, use -iname instead: + +find . -iname "filename" + + +* works as wildcard: + +find . -name "*.log" +\ No newline at end of file