5 Matching Annotations
  1. Nov 2022
    1. Run in WSL to return current total "word count": find /mnt/c/path/to/obsidian -type f -name "*.md" -exec cat '{}' \+ | wcThis will also count words in syntax - like the word "query" in an embedded query. In fact it probably counts anything separated by whitespace as separate words. But you could do some preprocessing between the cat and the wc if you like.

      Linux command for WSL to count all lines, words count, & character count. OP states at end -wc restricts to word count only

  2. Aug 2022
  3. Apr 2022
    1. To access your Linux files in Windows, open the Ubuntu terminal and type explorer.exe . (include the punctuation mark). This will open the linux directory in Windows Explorer, with the WSL prefix “\wsl$\Ubuntu-18.04\home\your-username”.Now, you’ll notice that Windows treats your Linux environment as a second network.
      • Accessing WSL files from Windows in the WSL terminal: explorer.exe .
      • Accessing Windows files from WSL terminal: cd /mnt
  4. Jun 2021
    1. This means that the request had pass to the external network but did not come back...

      Good to know to check if it works well on proxy in this way: Run below command in one terminal: sudo tcpdump -n -i en0 host

      And run below command in another terminal: dig @ www.google.com

  5. Jul 2020