Skip to content

Instantly share code, notes, and snippets.

@SimonLeeGit
Created September 3, 2021 06:18
Show Gist options
  • Save SimonLeeGit/92e5f94358d958e994777a508a78b44b to your computer and use it in GitHub Desktop.
Save SimonLeeGit/92e5f94358d958e994777a508a78b44b to your computer and use it in GitHub Desktop.
How to read file line by line in Bash script
$ while read line; do echo $line; done < company.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment