From 27336f1ab45dbbdfe111681b7abbc2279d19ff6e Mon Sep 17 00:00:00 2001 From: Eldar Marcussen Date: Wed, 4 Dec 2013 16:34:22 -0500 Subject: [PATCH] Basic find files examples --- linux/find_files.md | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/linux/find_files.md b/linux/find_files.md index e502f63..8cbf7d7 100644 --- a/linux/find_files.md +++ b/linux/find_files.md @@ -50,11 +50,30 @@ Commands that finds files on the file system are usually executed from within a ---- -## command -### Attributes showing - * **Command with arguments**: `command --help` - * **Description**: Displays files recursively +## find +### Search by name + * **Command with arguments**: `find / -name "issue*"` + * **Description**: Locates files matching the name (wildcards supported) * **Output**: - *
**OS:** Show/Hide
...
+ *
**Ubuntu:** Show/Hide
+ /etc/issue.net + /etc/issue + /etc/issue.dpkg-dist +
---- + +## locate + * **Command with arguments**: `locate ifconfig` + * **Description**: Look files up in the location database + * **Output**: + *
**Ubuntu:** Show/Hide
+ /pentest/forensics/volatility/volatility/plugins/linux/ifconfig.py + /pentest/forensics/volatility/volatility/plugins/linux/ifconfig.pyc + /sbin/ifconfig + /usr/share/man/de/man8/ifconfig.8.gz + /usr/share/man/fr/man8/ifconfig.8.gz + /usr/share/man/man8/ifconfig.8.gz + /usr/share/man/pt_BR/man8/ifconfig.8.gz +
+