#+title: Bash #+setupfile: ../org-templates/page.org ** Split large text file into smaller files with equal number of lines #+begin_src shell split -l 60 bigfile.txt prefix- #+end_src ** Loop through lines of file #+begin_src shell while read line; do echo "$line"; done