cmd/find
< cmd
Jump to navigation
Jump to search
About
This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!
|
Examples
Find a file or folder named "kate" somewhere under the current folder:
- <bash>find -name kate</bash>
Find all files or folders with the extension ".txt":
- <bash>find -name *.txt</bash>
View, in realtime, all additions to any file whose extension is ".log":
- <bash>find . -name "*.log" | xargs tail -f</bash>
(This is useful for monitoring web server (e.g. Apache) activity.)