差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
find [2016/09/10 02:17] jz |
find [2017/10/17 19:47] (目前版本) jz |
||
---|---|---|---|
行 54: | 行 54: | ||
Note that files that have been "created" within the specified time frame will also matched by these commands. | Note that files that have been "created" within the specified time frame will also matched by these commands. | ||
+ | |||
+ | To show the file name with grep. | ||
+ | <code> | ||
+ | $ find . -type f -name '*.c' -exec grep -n 'rsa' {} + | ||
+ | </code> | ||
+ | |||
+ | |||
+ | Find files that are bigger than 4096M | ||
+ | <code> | ||
+ | find . -type f -size +4096M | ||
+ | </code> |