17 lines
427 B
Markdown
17 lines
427 B
Markdown
|
|
||
|
+++
|
||
|
date="2022-12-24"
|
||
|
author="spanskiduh"
|
||
|
title="Find"
|
||
|
description="click to read Find"
|
||
|
+++
|
||
|
|
||
|
|
||
|
# Find
|
||
|
### 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`.
|
||
|
|
||
|
|
||
|
You can also add `szie` flag to narrow down results to expected filesize. Other useful flags: `user`, `group`.
|