2022-12-24 17:42:40 +01:00
|
|
|
|
2022-12-24 17:09:22 +01:00
|
|
|
+++
|
2022-12-24 22:54:34 +01:00
|
|
|
date="2022-12-24"
|
2022-12-24 17:09:22 +01:00
|
|
|
author="spanskiduh"
|
|
|
|
title="Find"
|
2022-12-24 17:42:40 +01:00
|
|
|
description="click to read about Find"
|
2022-12-24 17:09:22 +01:00
|
|
|
+++
|
|
|
|
# Find
|
2022-12-24 22:54:34 +01:00
|
|
|
|
2022-12-24 17:09:22 +01:00
|
|
|
### Examples of find command
|
|
|
|
- `sudo find / -type d -iname "gasper"` - search direcotry
|
|
|
|
- `sudo find /etc -type f -name "*.conf"` - display all configuration files, for more percison you should `|` into `grep`.
|
|
|
|
|
|
|
|
|
2022-12-24 22:54:34 +01:00
|
|
|
You can also add `size` flag to narrow down results to expected filesize. Other useful flags: `user`, `group`.
|