<commit_before># Useful commands

Here lie some useful commands that are awesome but are usually too rarely used to remember. They are useful for...

- Validating a macOS binary's code signature
  ```
  codesign -v /Applications/Example.app
  ```

- Determining DNS info
  ```
  dig @8.8.8.8 example.com any
  ```

- Determining the architectures within a universal binary
  ```
  file
  ```

- Finding C/C++ standard libraries
  ```
  `clang -print-prog-name=cc1` -v
  `clang -print-prog-name=cc1plus` -v
  ```

- Updating all git submodules
  ```
  git submodule foreach git pull origin master
  ```

- Finding what package installed a binary (Ubuntu/Debian)
  ```
  dpkg -S `which examplebinary`
  ```<commit_msg>doc: Update command to update all Git submodules<commit_after># Useful commands

Here lie some useful commands that are awesome but are usually too rarely used to remember. They are useful for...

- Validating a macOS binary's code signature
  ```
  codesign -v /Applications/Example.app
  ```

- Determining DNS info
  ```
  dig @8.8.8.8 example.com any
  ```

- Determining the architectures within a universal binary
  ```
  file
  ```

- Finding C/C++ standard libraries
  ```
  `clang -print-prog-name=cc1` -v
  `clang -print-prog-name=cc1plus` -v
  ```

- Updating all git submodules
  ```
  git submodule update --remote
  ```

- Finding what package installed a binary (Ubuntu/Debian)
  ```
  dpkg -S `which examplebinary`
  ```
{'fraction_non_alphanumeric': 0.11639118457300275, 'fraction_numerical': 0.008264462809917356, 'mean_word_length': 3.1873198847262247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '883073', 'n_tokens_mistral': 480, 'n_tokens_neox': 451, 'n_words': 162}