Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: thread files

  • Get a list of files (from the current directory or from all the files in the "slides" repository.
  • Process each file:
    1. get size of file
    1. count how many times each character appear in the file.
  • The script should accept the number of threads to use.