<commit_before>= Linux Notes
:author: <NAME>
:doctype: notes
:encoding: utf-8
:lang: en
:toc: left
:published_at: 2013-5-12
:numbered:

[index]
== general commands
=== find
Search the current dir (and below) for a file named sue:
[source,bash]
$ find . –name sue

Search /tmp and /var for files named foo*bar modified in the last week:  
[source,bash]
$ find /tmp /var –mtime -7 -name foo\*bar

Search the file system for files modified < 10 mins ago, excluding dirs and other special files:
[source,bash]
$ find / -mmin -10 –type f
<commit_msg>Update 2013-5-12-Linux-Notes.adoc<commit_after>= Linux Notes
:author: <NAME>
:doctype: notes
:encoding: utf-8
:lang: en
:toc: left
:published_at: 2013-5-12
:numbered:

*my linux notes*

[index]
== general commands
=== find
Search the current dir (and below) for a file named sue:
[source,bash]
$ find . –name sue

Search /tmp and /var for files named foo*bar modified in the last week:  
[source,bash]
$ find /tmp /var –mtime -7 -name foo\*bar

Search the file system for files modified < 10 mins ago, excluding dirs and other special files:
[source,bash]
$ find / -mmin -10 –type f

{'fraction_non_alphanumeric': 0.12145390070921985, 'fraction_numerical': 0.02925531914893617, 'mean_word_length': 4.108597285067873, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3289548', 'n_tokens_mistral': 422, 'n_tokens_neox': 378, 'n_words': 160}